Updated mediawiki/core Project: mediawiki/extensions/OpenStackManager 3f9bbd26131cfbe3a9bee7ef303fd7474afc24d6
Use correct hooks for bastion project membership
Currently the membership in the bastion project is managed by
manageShellAccess() when the loginviashell right is granted or
removed. However, due to the use of the hook UserRights, this only
happens when the user rights are changed interactively on
Special:UserRights. Thus, for example automatic additions via
$user->addGroup() do not update the bastion project membership.
This change splits the hook function in two and splices them into the
hooks UserAddGroup and UserRemoveGroup which are triggered by
$user->addGroup() as well.