#108958user sees custom stages despite no stage permissions - disable or hide those stages in the dropdown
Description
We want to use CUSTOM workspaces with several users and each user has either the permissions for one or more stages.
An example would be the following user:
The user has the permission only for CUSTOM STAGE 3 but not for Bearbeiten, CUSTOM STAGE 1/2 or Bereit zum Veröffentlichen (see screenshot)
Now, the changed record is in the stage CUSTOM STAGE 1 and the user sees every stage the record can be send to.
When he chooses for example one of the stages Bearbeiten, CUSTOM STAGE 1/2/3 or Bereit zum Veröffentlichung, the modal with the email selection appears and after clicking the “OK” button, the modal disappears and the record stays in CUSTOM STAGE 1 because the user has no permission for CUSTOM STAGE 1. So this is correct but also confusing for the user.
Why show every step when he has only the permission for CUSTOM STAGE 3.
I would suggest to disable all stages in the dropdown menu, when the permission don’t allow it that the selected record can be sent to a certain stage, so it’s clear for the user what he can do or not. If multiple records are selected, one in CUSTOM STAGE 1 and one in CUSTOM3 STAGE 3 then the dropdown should still disable all options because it’s not possible for this user to send all selected records to the choosen custom stage.
I also noticed the filter dropdown, where users can filter the records for certain stages. Maybe it’s possible to pre-select the filters based on the stages the user has permission for (multiple options have to be possible) so that the user only sees the records in the stages he has permission for from the beginning.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] user sees custom stages despite no stage permissions - disable or hide those stages in the dropdown Resolves: #108958 Releases: main