Open alaniwi opened 5 years ago
Currently just asks the user to confirm that they are gws manager if the .mngr directory doesn't already exist - or if it does then checks that they own it. Change to use LDAP query and allow for the possibility of more than one manager.
.mngr
Some untested code to implement this posted on Slack by Neil - search for user_is_gws_manager.
user_is_gws_manager
Currently just asks the user to confirm that they are gws manager if the
.mngr
directory doesn't already exist - or if it does then checks that they own it. Change to use LDAP query and allow for the possibility of more than one manager.