DamianZaremba has uploaded a new change for review. Change subject: Add shell access hook. ......................................................................
Add shell access hook. This implements a UserRights hook that ensures users are added to the 4 bastion project when they are added to the 'shell' group (or indeed any 5 group that gives them loginviashell access). It also implements removing them from the bastion project if they no longer have loginviashell acess. While removing them from the bastion project doesn't guarantee removal of 10 access (they might ssh in via a public ip), looping over each project and 11 removing membership from everything is potentially very expensive and messy. 'loginviashell' implies bastion (shell) access, this hook just takes 14 another step out (a step that's apparently confusing to new users). Change-Id: I85d16369137ba108fb20406d597baa2063d1fdcc --- A OpenStackHooks.php M OpenStackManager.php 2 files changed, 23 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OpenStackManager refs/changes/00/25700/1 -- To view, visit https://gerrit.wikimedia.org/r/25700 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I85d16369137ba108fb20406d597baa2063d1fdcc Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/OpenStackManager Gerrit-Branch: master Gerrit-Owner: DamianZaremba <dam...@damianzaremba.co.uk> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits