-
Notifications
You must be signed in to change notification settings - Fork 27
[GT-184] Extend API Credential Management to handle periodic renewal #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Alternatively, we could rename the existing scripts to That may be better than having one giant script that does everything. |
Looking at the exact implementation of this in #447, a hypothetical ManageUnneededAPICredentials.php script would be very similiar to the ManageUnusedAPICredentials.php script - except for using We could have seperate scripts for unneeded and unused credentials, so long as most of the code is suitably shared. Another option would be to have a single script (i.e. undo the renaming) and add an option to determine if we are managing unneeded or unused credentials. Something to think about and discuss. |
This isn't exactly true. The email message would be different as well - maybe that additional difference warrents two thin wrapper scripts over some shared functionality. |
This and #453 may best be tackled at a similar time. |
As a follow on from #437, we should extend the management of API Credentials to deal with the periodic renewal of credentials.
I.e., the case where somebody has set up a useless periodic API operation, and subsequently stopped needing it, but the access continues indefintely.
We would want a suitable user of GOCDB to have to say the access is still needed every X months.
I imagine this could be done by renaming the existing ManageAPICredentialsActions functionality
warnUsers()
towarnUsersOfInactivity()
and adding awarnUsersOfRenewal()
method.deleteCreds
would also have to be similarly reworked.The text was updated successfully, but these errors were encountered: