-
Bug Report
-
Resolution: Cannot Reproduce
-
L3 - Default
-
None
-
None
-
None
-
Not defined
Brief summary of the bug. What is it ? Where is it ?
When I change myself from a manager to an editor, I am still a manager because i can add and remove users and data sources.
Steps to reproduce:
- Create a new collection
- Go the users tab
- Add another user as a manager (e.g. John)
- Edit my user authorization to be an editor
Actual result:
- I can still remove and add users although i am an editor of the collection
Expected result:
- Since i am an editor, i should not be able to add users or data sources to the collection
- Alternatively, I prevented from editing my self to be an editor/view
Results of my investigation:
After changing current user role the whole collection is fetched from backend again and in the response currentUserRole property still has a value of manager. User role update request is sent with proper body and after that refetching users list gives correct response. Only place where the response is not right is the get collection