trait PermissionChecker (View source)

Methods

protected
bool
isContentReviewable(DataObject $record, Member|null $user = null)

Checks the user has been granted special permission to review the content of the page if not fallback to canEdit() permission.

Details

protected bool isContentReviewable(DataObject $record, Member|null $user = null)

Checks the user has been granted special permission to review the content of the page if not fallback to canEdit() permission.

Parameters

DataObject $record
Member|null $user

Return Value

bool