ThreatMapper
ThreatMapper copied to clipboard
Settings page top menu bar does not change when a admin make another admin a user
Describe the bug Settings page top menu bar does not change when a admin make another admin a user
To Reproduce Steps to reproduce the behavior:
- create a console and send a invite to another user as a admin
- once another user is ready after setup then, make him user or read_only_user
- now top menu bar remains intact until logout and then login
Expected behavior
pic after changing user role [it should be], but this is in effect only after logging out and logging in back
Screenshots
Screenshot before changing user role
Components/Services affected
- [x] UI/Frontend
- [x] API/Backend
- [ ] Agent
- [ ] Deployment/YAMLs
- [ ] CI/CD Integration
- [ ] Other (specify)
Issue is the auth token set in UI still has the older permission. This needs to be fixed from backend/API.
cc: @mukuldeepfence @jatin-baweja
I am working on this issue this issue.
now backend will accept only desired operation according to the user role currently. issue from the backend has been fixed