protected function getForbiddenActions()
    {
        $forbidden = $this->getAssignedActions()->filter(function (Action $action) {
            return $action->pivot->provision === 'fail';
        })->pluck('slug')->all();

        return $forbidden;
    }
protected function getForbiddenActions()
    {
        $forbidden = $this->getAssignedActions()->filter(function (Action $action) {
            return $action->pivot->provision === 'fail';
        })->pluck('slug')->all();

        return $forbidden;
    }
protected function getForbiddenActions ( ) { $ forbidden = $ this -> getAssignedActions ( ) -> filter ( function ( Action $ action ) { return $ action -> pivot -> provision === 'fail' ; } ) -> pluck ( 'slug' ) -> all ( ) ; return $ forbidden ; }
Get only assigned actions that are forbidden

@return array
Get only assigned actions that are forbidden