Problems deleting roles
See original GitHub issueGreetings, I am currently using node-casbin, when wanting to delete a role I ran into a problem, I need to delete a role per domain, I am using the RBAC model with domains.
But when using the deleteRole
method, the role is deleted from the database, however when I consult from my api, it seems that it is still there. Can you help me with these points?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Deleting roles or instance profiles - AWS Documentation
If you prefer not to permanently delete a role, you can disable a role. To do this, change the role policies and then...
Read more >Unable to delete IAM Role | AWS re:Post
I am trying to delete some bunch of IAM Roles based on conditions like LastUsedDate > 90days, LastCreateDate>90 days etc. In this process...
Read more >I created a role but cannot delete it - Microsoft Q&A
Hi, I worked with 5-exercise-manage-custom-roles and create a role, and assignment for it. But now I cannot find any assignment (by portal ...
Read more >Considerations when Portal Roles are deleted - Salesforce Help
Roles can be deleted from any point in the hierarchy as long as a user is not assigned. · Remaining roles will be...
Read more >How should I handle deleting a role when there are still users ...
1st decide what is leading. Is deleting the role leading or is the role in use leading. Depending on the situation you could...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Are you running Casbin in cluster environment? or do you have multiple Casbin instances?
currently, Node-Casbin doesn’t delete role with domain, don’t worry, we are going to plan support it.
@nodece thanks for your reply.