Drive Management Tool - Step 3 - recovery
Step 3
Add the functionality for the drive tool to recover a user's file share permissions.
Expected that a user will have mydrive-shared-action manually set to "recover" by script or console. At a later date this (and mydrive-shared-result) would be cleared to rescan and remove permissions again.
- add
--recover-mydrivecommand-line operation - cap number of users to recover (setting in configuration) - probably one at a time anyway
- for each suspended user with
mydrive-shared-actionset to "recover":- impersonate that user
- read latest "ucam-shared-permissions-{datetime}.yaml" file in user's mydrive
- restore shared permissions listed in file (
ds.permissions().create()) - set
mydrive-shared-resultto "recovered" - clear
mydrive-shared-action
Although not critical for March when permissions are being removed is would be good to have this functionality easily available for support.
Edited by Robin Goodall