Module version(s) affected
5.x-dev, 6.x-dev
Description
Here are the permissions for a user role I have created on https://demo.silverstripe.org/.
I am showing the bug on the demo site:
and now I enter my credentials to edit it:
How to reproduce
Try it for yourself on the demo site:
- create role with some permissions
- log out
- log back in
- review permissions for role
- enter your credentials for sudo mode
- review permissions again
- now note that (4) and (6) show different results. (4) misleads you into thinking that the user role does not have any permissions.
Possible Solution
The readonly form should show greyed out permissions (i.e. we are not going to tell you what permissions there are until you are in sudo mode) and / or green ticks for the permissions that are applied and/or hide the permissions form field until sudo mode is enabled.
Additional Context
None.
Validations
Module version(s) affected
5.x-dev, 6.x-dev
Description
Here are the permissions for a user role I have created on https://demo.silverstripe.org/.
I am showing the bug on the demo site:
and now I enter my credentials to edit it:
How to reproduce
Try it for yourself on the demo site:
Possible Solution
The readonly form should show greyed out permissions (i.e. we are not going to tell you what permissions there are until you are in sudo mode) and / or green ticks for the permissions that are applied and/or hide the permissions form field until sudo mode is enabled.
Additional Context
None.
Validations
silverstripe/installer(with any code examples you've provided)