Description
Description
Admin UI text in Page Global Permissions has unclear meanings. Original report.
Steps to reproduce
"View restricted"
- Go to '
/admin/cms/globalpagepermissions/add
. - Find "on page level" (fields description) > "View restricted" (checkbox label).
"frontend view restriction"
- Go to '
/admin/cms/globalpagepermissions/add
. - Find "on page level" (fields description) > "View restricted" (checkbox label).
- Underneath it, read "frontend view restriction".
"Edit permissions required"
- Go to '
/admin/cms/globalpagepermissions/add
. - Add permission for user or group:
- Check "Can publish".
- Check nothing else.
- Submit
- See error "Users can't […] Edit permissions required."
Expected behaviour
Text that has less interpretations, and such that the correct interpretation is easy to determine.
"View restricted"
Because it actually means not can_view
(ref.), maybe something like:
Can not view restricted pages.
But, what are "restricted pages"?
"frontend view restriction"
Because it actually describes not can_view
(ref.), mayeb soemthing like:
Hides restricted pages from selected user/group.
But, what are "restricted pages"?
But how to keep "Can edit" in sync with the label text to which it refers?
"[…] Edit permissions required"
Maybe,
Ensure user has "Can edit" permission
But how to keep "Can edit" in sync with the label text to which it refers?
Actual behaviour
"View restricted"
Label text "View restricted" is unclear because of multiple interpretations:
- "View (as a verb) restricted [what]".
- "View [of … what … is] restricted".
"frontend view restriction"
Help text "frontend view restriction" is unclear because of it creates more questions than it answers:
- There is a restriction?
- This makes a restriction?
- Is the restriction active when checked or not checked?
- Can I restrict a backend view from this page?
"[…] Edit permissions required"
Error text "Edit permissions required" is unclear because of multiple interpretations:
- "Edit permissions [are] required."
- "Edit (as a verb) [the] permissions [that are] required."
Screenshots
View restricted | frontend view restriction | […] Edit permissions required |
---|---|---|
![]() |
![]() |
![]() |
Additional information (CMS/Python/Django versions)
- Django CMS: 3.8.0
- Django: 3.2
- Python: 1.4.0
Do you want to help fix this issue?
- Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
- Maybe, and if Yes, then I agree to the above.
- No, I only want to report the issue.