Page MenuHomePhabricator

Allow Extension to Define Implicit Groups
Closed, ResolvedPublic


Currently, an extension writer can define effective groups by catching the UserEffectiveGroups hook fired in User->getEffectiveGroups(). The user can also use this hook to add a user to implicit groups other then the standard '*', 'user', 'autoconfirmed', and 'emailconfirmed' groups. However, any implicit groups defined still show up in the user rights management interface because the function User->getAllGroups() hard codes the implicit groups.

I would like a hook or global variable to allow my extension to define new implicit groups.

Version: 1.11.x
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:48 PM
bzimport set Reference to bz10859.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

'UserGetImplicitGroups' hook added in r24701; see docs/hooks.txt for more information.