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

--- Comment #40 from Krinkle <[email protected]> 2011-07-04 20:39:31 UTC ---
(In reply to comment #34)
> (In reply to comment #33)
> > I would prefer this to have this dependant of a Title->userCan(), and 
> > having a
> > way to set per namespace $wgGroupPermissions in a sane way.
> 
> We are talking about global groups, so $wgGroupPermissions seems irrelevant.
> Your suggestion though would imply implementing per-namespace group permission
> support in CentralAuth.
> 
> On an unrelated note a sane way for $wgGroupPermissions to support
> per-namespace permissions is to allow an array as argument, e.g.
> 
>  $wgGroupPermissions['sysop']['deletedhistory'] = array( NS_FILE => true );
> 
> In any case I think setting permissions per-namespace is the way to go, rather
> than creating per-namespace permissions.

I agree. So the userright-key in the user-group array in $wgGroupPermissions is
either boolean or an array of namespace-ids with booleans.

So in the userCan function needs the option (or requirement) to specify a Title
object.

The Title-class currently has permission-related functions, how usable are they
for this bug ?

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to