On Tue, May 25, 2010 at 5:19 AM, Valerio M. Pelliccioni
<[email protected]>wrote:
> The group 'employee' in my MW configuration has some special write
> permissions managed by a well known extension:
> $wgSpecialPageLockdown['FormEdit'] = array('employee'); which (you know)
> doesn't show up in the Special:ListGroupRights.
>
> Of course, when I manually put a user in the desired group (employee) using
> Special:UserRights, everything works fine.
>
> I do need to actually put a user into a group.
>
Lockdown uses User::getEffectiveGroups(), which claims to check
for autoconfirmed groups, so I'm not sure why this isn't working for you.
I'll ping the extension author about it.
On Tue, May 25, 2010 at 7:58 AM, Chad <[email protected]> wrote:
> On Tue, May 25, 2010 at 5:19 AM, Valerio M. Pelliccioni <[email protected]>
> wrote:
> > This, at the same time, doesn't have effect on Special:ListUsers.
> >
>
> They're called implicit groups. They don't appear on ListUsers, but they
> should appear in a list of a user's groups on Special:Preferences. If they
> don't appear *there*, then we've got a bug.
This would probably be less confusing if we didn't have two kinds of
implicitness: a group can be be implicit (because it's specified
in $wgImplicitGroups) or a user's membership in a group can be implicit
(because it's assigned through $wgAutopromote). The joys of evolutionary
development. :)
> > The group 'employee' in my MW configuration has some special write
> permissions managed by a well known extension:
> $wgSpecialPageLockdown['FormEdit'] = array('employee'); which (you know)
> doesn't show up in the Special:ListGroupRights.
> >
> > Of course, when I manually put a user in the desired group (employee)
> using Special:UserRights, everything works fine.
> >
> > I do need to actually put a user into a group.
>
> If it's an autopromote group, no. There's a reason we put "auto" in the
> name :)
>
I'm pretty sure the reason was just to indicate that promotions are done
automatically, not that they're done implicitly and _checked_
automatically. $wgAutopromote could have been implemented so that it
actually added users to groups, although that implementation would be a lot
trickier and would have practical disadvantages (and a couple
of advantages), and the more I think about it the more I can see why it
wasn't done that way. Anyway, I added a note on the manual page.
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l