Skip to content

fix: #7633 unclear admin ui text for page global perms #8255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cms/models/permissionmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ class AbstractPagePermission(models.Model):
can_publish = models.BooleanField(_("can publish"), default=True)
can_change_permissions = models.BooleanField(_("can change permissions"), default=False, help_text=_("on page level"))
can_move_page = models.BooleanField(_("can move"), default=True)
can_view = models.BooleanField(_("view restricted"), default=False, help_text=_("frontend view restriction"))
can_view = models.BooleanField(
_("can view restricted pages"),
default=False,
help_text=_("Grants access to published pages with view restrictions. Does not allow viewing unpublished pages."),
)

class Meta:
abstract = True
Expand Down