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

[Epic] User deactivation #774

Closed xcoulon closed 5 years ago

xcoulon commented 5 years ago

Provide a new /api/namedusers/:username/deactivate endpoint to:

alexeykazakov commented 5 years ago
  • unlink the external accounts? (GitHub, etc.)

Good point. Yes!

xcoulon commented 5 years ago
  • unlink the external accounts? (GitHub, etc.)

Good point. Yes!

added in https://github.com/fabric8-services/fabric8-auth/issues/783

alexeykazakov commented 5 years ago

We also need to make sure that we log all deprovisioned users.

alexeykazakov commented 5 years ago

There is one subtask is missing. Before we expose the endpoint we have to change the registration endpoint. It should handle the situation when we get a request to register a new user who was previously deactivated/soft-deleted.

alexeykazakov commented 5 years ago

Never mind. With data obfuscation we don't have to do extra in the registration flow :)

alexeykazakov commented 5 years ago

This Epic (provide /api/namedusers/:username/deactivate endpoint) is done. Closing it.

xcoulon commented 5 years ago

reopening as I realized that https://github.com/fabric8-services/fabric8-auth/issues/777 was incomplete (missing calls to Che, Jenkins and Env services).