cedadev / gws-migration-tools

Tools for users to submit migration jobs (abstracted from the JDMA).
0 stars 0 forks source link

do proper checks for gws manager #1

Open alaniwi opened 5 years ago

alaniwi commented 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.

alaniwi commented 5 years ago

Some untested code to implement this posted on Slack by Neil - search for user_is_gws_manager.