src/Gzero/Cms/Policies/ContentPolicy.php
public function viewOnFrontend(User $user, Content $content)
    {
        if ($content->canBeShown()) {
            return true;
        }
        return ($content->author->id === $user->id);
    }
public function viewOnFrontend(User $user, Content $content)
    {
        if ($content->canBeShown()) {
            return true;
        }
        return ($content->author->id === $user->id);
    }
public function viewOnFrontend ( User $ user , Content $ content ) { if ( $ content -> canBeShown ( ) ) { return true ; } return ( $ content -> author -> id === $ user -> id ) ; }
Policy for viewing single unpublished element

@param User    $user    User trying to do it
@param Content $content Content that we're trying to update

@return boolean
Policy for viewing single unpublished element