Skip to content

[BUG] Admin UI Text in Page Global Permissions is Unclear #7633

Open
@wesleyboar

Description

@wesleyboar

Description

Admin UI text in Page Global Permissions has unclear meanings. Original report.

Steps to reproduce

"View restricted"

  1. Go to '/admin/cms/globalpagepermissions/add.
  2. Find "on page level" (fields description) > "View restricted" (checkbox label).

"frontend view restriction"

  1. Go to '/admin/cms/globalpagepermissions/add.
  2. Find "on page level" (fields description) > "View restricted" (checkbox label).
  3. Underneath it, read "frontend view restriction".

"Edit permissions required"

  1. Go to '/admin/cms/globalpagepermissions/add.
  2. Add permission for user or group:
    1. Check "Can publish".
    2. Check nothing else.
  3. Submit
  4. 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
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions