AnnotationAssistanceRequestPolicy
class AnnotationAssistanceRequestPolicy
Traits
HandlesAuthorization
Methods
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 line 20
bool|null
before(User $user, string $ability)
Intercept all checks.
at line 34
bool
access(User $user, AnnotationAssistanceRequest $request)
Determine if the given assistance request can be accessed by the user.
at line 46
bool
destroy(User $user, AnnotationAssistanceRequest $request)
Determine if the given assistance request can be deleted by the user.