authorizerdev/authorizer

Remove roles from all the users when a role is removed from env

lakhansamani opened this issue · 1 comments

Version: x.y.z

1.2.4

Describe the bug
When the roles list is updated from UI/env variable and if a specific role is removed from that list, then make sure it is also deleted from the users table

Steps To Reproduce

Expected behavior

At any given point user should have only the roles that are configured.

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

working on it