Describe the Bug
When cleaning up permissions after employee who just left the company, I was unable to remove roles assigned to him. Turns out you can't remove more than one role at a time (UPDATE: all roles at the same time. removing N-1 roles where N is a total number of assigned role, works correctly). If you try, despite success message popup none of the roles are actually removed. The only way to remove all roles from user's profile is to remove them one by one and save changes (UPDATE: or with N-1 approach mentioned above). Extremely tedious job, especially if you have multiple users to "process", who have several roles assigned. At this point task begins to grow exponentially.
I believe this bug could have been introduced during an update to current version of Bookstack, because I remember doing it in the past without any issue.
Steps to Reproduce
- Go to Settings -> Users
- Open any profile's details page
- Unassign more than one role and click Save button
- Find that profile and see that no role has been removed
Expected Behaviour
Basically remove all roles at the same time without having to save after each one.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v22.06.2
PHP Version
No response
Hosting Environment
Ubuntu 20.04 LTS
Describe the Bug
When cleaning up permissions after employee who just left the company, I was unable to remove roles assigned to him. Turns out you can't remove more than one role at a time (UPDATE: all roles at the same time. removing N-1 roles where N is a total number of assigned role, works correctly). If you try, despite success message popup none of the roles are actually removed. The only way to remove all roles from user's profile is to remove them one by one and save changes (UPDATE: or with N-1 approach mentioned above). Extremely tedious job, especially if you have multiple users to "process", who have several roles assigned. At this point task begins to grow exponentially.
I believe this bug could have been introduced during an update to current version of Bookstack, because I remember doing it in the past without any issue.
Steps to Reproduce
Expected Behaviour
Basically remove all roles at the same time without having to save after each one.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v22.06.2
PHP Version
No response
Hosting Environment
Ubuntu 20.04 LTS