[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imp
Subject:    [horde] Question on wicked's permission
From:       "W. Tasin" <tasin () fhm ! edu>
Date:       2005-12-19 22:36:57
Message-ID: 43A73609.1060708 () fhm ! edu
[Download RAW message or body]

Hi,

I have a question on locking and unlocking pages on wiked.
Actually everyone who has the permission to edit a page can also lock 
and unlock a page. So a guest with edit permission on a page can also 
lock and unlock the page.

Wouldn't it make more sense if only a user with a higher permission (e. 
g. delete permission) could lock/unlock the page?
Is there another reason why a user with edit permission have also the 
right to lock/unlock a page?
Ciao

Walter


["wicked-p4.diff" (text/plain)]

--- wicked/lib/Page.php	2005-12-01 10:57:52.000000000 +0100
+++ wicked/lib/Page.php	2005-12-19 20:13:45.000000000 +0100
@@ -160,7 +160,7 @@
                 return true;
             }
 
-            if (($pagePerms & PERMS_EDIT) == 0) {
+            if (($pagePerms & PERMS_DELETE) == 0) {
                 return false;
             }
             break;


-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic