6.0.0-beta1
8/21/25

[#5806] Permissions problem with remove and revert revisions
Summary Permissions problem with remove and revert revisions
Queue Wicked
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at)
Requester scalero (at) datadec (dot) es
Created 10/17/2007 (6518 days ago)
Due
Updated 01/06/2008 (6437 days ago)
Assigned 10/17/2007 (6518 days ago)
Resolved 01/06/2008 (6437 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/06/2008 11:21:59 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
No, that wouldn't respect the permissions of the actual page being 
operated on. I've committed the correct fix.
10/17/2007 05:25:15 PM Jan Schneider Priority ⇒ 2. Medium
 
10/17/2007 05:24:40 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
 
10/17/2007 12:01:07 PM scalero (at) datadec (dot) es Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Permissions problem with remove and revert revisions
Due ⇒ 10/17/2007
Queue ⇒ Wicked
State ⇒ Unconfirmed
Reply to this comment
When I am in the 'History' of a Wiki page and I want to remove o 
revert a revision, and I have permission to this, this isn't possible 
and I go back to the original Wiki page.



When this patch works but is it correct?



File: "wicked/lib/Page/DeletePage.php" Line: 26

-----------------------------------------------------------------------



-    var $supportedModes = array(WICKED_MODE_DISPLAY => true);

+    var $supportedModes = array(WICKED_MODE_DISPLAY => true,

+                                WICKED_MODE_REMOVE => true);





File: "wicked/lib/Page/DeletePage.php" Line: 20

-----------------------------------------------------------------------



-    var $supportedModes = array(WICKED_MODE_DISPLAY => true);

+    var $supportedModes = array(WICKED_MODE_DISPLAY => true,

+                                WICKED_MODE_EDIT => true);

Saved Queries