authorizerdev / authorizer

Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.

Home Page:https://authorizer.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

lakhansamani opened this issue · 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