class AnnotationAssistanceRequestPolicy

Traits

HandlesAuthorization

Methods

bool|null
before(User$user,string$ability)

Intercept all checks.

bool
access(User$user,AnnotationAssistanceRequest$request)

Determine if the given assistance request can be accessed by the user.

bool
destroy(User$user,AnnotationAssistanceRequest$request)

Determine if the given assistance request can be deleted by the user.

Details

at line20
bool|null before(User$user,string$ability)

Intercept all checks.

Parameters

User $user
string $ability

Return Value

bool|null

at line34
bool access(User$user,AnnotationAssistanceRequest$request)

Determine if the given assistance request can be accessed by the user.

Parameters

User $user
AnnotationAssistanceRequest $request

Return Value

bool

at line46
bool destroy(User$user,AnnotationAssistanceRequest$request)

Determine if the given assistance request can be deleted by the user.

Parameters

User $user
AnnotationAssistanceRequest $request

Return Value

bool