PagePermissions::addable() PagePermissions::addable(HookEvent $event) PagePermissions::addable(HookEvent $event) | (nothing) | Can the current user add child pages to this page? | |
PagePermissions::deleteable() PagePermissions::deleteable(HookEvent $event) PagePermissions::deleteable(HookEvent $event) | (nothing) | Is the page deleteable by the current user? | |
PagePermissions::editable() PagePermissions::editable(HookEvent $event) PagePermissions::editable(HookEvent $event) | (nothing) | Hook that adds a Page::editable([$field]) method to determine if $page is editable by current user | |
PagePermissions::fieldEditable() PagePermissions::fieldEditable(Page $page, $name) PagePermissions::fieldEditable(Page $page, $name, bool $checkPageEditable = true) | bool | Is the given field name editable? | |
PagePermissions::fieldViewable() PagePermissions::fieldViewable(Page $page, $name) PagePermissions::fieldViewable(Page $page, $name, bool $checkPageViewable = true) | bool | Is the given Field or field name viewable? | |
PagePermissions::listable() PagePermissions::listable(HookEvent $event) PagePermissions::listable(HookEvent $event) | (nothing) | Is the page listable by the current user? | |
PagePermissions::moveable() PagePermissions::moveable(HookEvent $event) PagePermissions::moveable(HookEvent $event) | (nothing) | Is the given page moveable (i.e. change parent)? | |
PagePermissions::pageEditable() PagePermissions::pageEditable(Page $page) PagePermissions::pageEditable(Page $page) | bool | Is the given page editable? | |
PagePermissions::publishable() PagePermissions::publishable(HookEvent $event) PagePermissions::publishable(HookEvent $event) | (nothing) | Is the page publishable by the current user? | |
PagePermissions::restorable() PagePermissions::restorable(HookEvent $event) PagePermissions::restorable(HookEvent $event) | (nothing) | Is page restorable from trash? | |
PagePermissions::sortable() PagePermissions::sortable(HookEvent $event) PagePermissions::sortable(HookEvent $event) | (nothing) | Is the given page sortable by the current user? | |
PagePermissions::trashListable() PagePermissions::trashListable() PagePermissions::trashListable($page = null) | bool | Return whether or not given page in Trash is listable | |
PagePermissions::trashable() PagePermissions::trashable(HookEvent $event) PagePermissions::trashable(HookEvent $event) | (nothing) | Is the page trashable by the current user? | |
PagePermissions::userCanAssignRole() PagePermissions::userCanAssignRole($role) PagePermissions::userCanAssignRole($role) | bool | Can the current user add/remove the given role from other users? | |
PagePermissions::userEditable() PagePermissions::userEditable($page) PagePermissions::userEditable($page, array $options = []) | bool | Returns whether the given user ($page) is editable by the current user | |
PagePermissions::userFieldEditable() PagePermissions::userFieldEditable($name) PagePermissions::userFieldEditable($name, $user = null) | bool | Is the given field editable by the current user in their user profile? | |
PagePermissions::userViewable() PagePermissions::userViewable($page) PagePermissions::userViewable($page, array $options = []) | bool | Returns whether the given user ($page) is viewable by the current user | |
PagePermissions::viewable() PagePermissions::viewable(HookEvent $event) PagePermissions::viewable(HookEvent $event) | (nothing) | Hook for Page::viewable() or Page::viewable($user) method | |