[Tickets #5806] Permissions problem with remove and revert revisions

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Oct 17 12:01:07 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5806
-----------------------------------------------------------------------
 Ticket             | 5806
 Created By         | scalero at datadec.es
 Summary            | Permissions problem with remove and revert revisions
 Queue              | Wicked
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


scalero at datadec.es (2007-10-17 05:01) wrote:

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);



More information about the bugs mailing list