tapis-project / authenticator

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

fix error message on client delete for clients that have generated an authorization code #12

Closed joestubbs closed 2 years ago

joestubbs commented 2 years ago

Currently, clients that have generated at least one authorization code cannot be deleted due to an SQL constraint. I think we want this behavior (i.e., to not allow client delete after generating an authorization code) for auditability/tracability purposes, but we should have a better error message. We probably also need to allow users to deactivate the client (i.e., a "soft delete") to help with clean up.

gcurbelo123 commented 2 years ago

This has been merged into dev