https://bugzilla.wikimedia.org/show_bug.cgi?id=14636

--- Comment #6 from Khaled El Mansoury <prog4l...@googlemail.com> 2012-05-01 
18:25:46 UTC ---
Created attachment 10491
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10491
Basic work

OK. As I briefly mentioned on IRC, here is my contribution on an attempt to
rewrite the permission system.
I know that this is nowhere near a solution, but I see it as a start and just
would like some feedback on the work, and maybe I could build from there.

The system works just like I described it in Comment 5, it builds on top of the
usual $wgGroupPermissions, but gets rid of $wgRevokePermissions.

For the following example, if the user is in group 'noupload', no matter
whether he already has permission to upload from another group or not, he would
always be denied to upload.

$wgGroupPermissions['noupload']['upload'] = -1;

So, any feedback is really appreciated! Thanks.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to