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

--- Comment #1 from Reedy <s...@reedyboy.net> 2011-01-03 21:14:20 UTC ---
Rights are done in code (well, as are groups, but group membership is in the
database)...

So to do it User::getGroupsWithPermission(), and then just have that
override/merge against groups, and do the lookup.

Little faffy, but doesn't seem too bad, I mean, if we're already filtering on
groups.

Then for getting rights.. Make sure we pull groups from DB, and then push it
through User::getGroupPermissions(), and cache that locally for a bit of saving

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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