fabric8-services / fabric8-auth

Identity and Access Management for fabric8 services
https://auth.openshift.io/api/status
Apache License 2.0
14 stars 26 forks source link

Rename `deprovision` to `ban` #779

Open xcoulon opened 5 years ago

xcoulon commented 5 years ago

Make the change in all layers of the code, but at the controller, level, keep the existing /api/namedusers/:username/deprovision endpoint and provide a new /api/namedusers/:username/ban with the same functionality (a redirect may not work, depending on the client impl., so we may need to keep both implementations until the registration app has been updated to call the new ban endpoint)

Having ban endpoint would help clarifying the role, compared to the upcoming deactivate endpoint which has not exactly the same business rules: