Skip to content

Potential issue - deleing a user does not delete their data from casbin_rule table #155

@msmith125

Description

@msmith125

User Story

As a admin of the bmore-responsive system
I'd like to have user data deleted from casbin_rule as well as users when a user is deleted
So that I can be sure that their data is deleted from the database

Acceptance Criteria

  • When a user is deleted from the system, their data is deleted from Users table
  • When a user is deleted from the system, their data is deleted from casbin_rule table
  • A users who has been deleted cannot log into the system
  • PR merged to master

Notes

I created a user with admin role named peg.simpson@sfpp.com
I checked users and casbin_rule tables and she was in there
I delete peg.simpson@sfpp.com and she was deleted from only the "Users" table
I created peg.simpson@sfpp.com with the user role. She was added to Users, but the old row in casbin_rule was still there listing her as an admin

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions