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 line20
bool|null
before(User$user,string$ability)
Intercept all checks.
at line34
bool
access(User$user,AnnotationAssistanceRequest$request)
Determine if the given assistance request can be accessed by the user.
at line46
bool
destroy(User$user,AnnotationAssistanceRequest$request)
Determine if the given assistance request can be deleted by the user.