class FederatedSearchInstancePolicy

Traits

HandlesAuthorization

Methods

mixed
create(User $user)

Determine whether the user can create instances.

mixed
update(User $user, FederatedSearchInstance $instance)

Determine whether the user can update the instance.

mixed
destroy(User $user, FederatedSearchInstance $instance)

Determine whether the user can delete the instance.

Details

at line 19
mixed create(User $user)

Determine whether the user can create instances.

Parameters

User $user

Return Value

mixed

at line 31
mixed update(User $user, FederatedSearchInstance $instance)

Determine whether the user can update the instance.

Parameters

User $user
FederatedSearchInstance $instance

Return Value

mixed

at line 43
mixed destroy(User $user, FederatedSearchInstance $instance)

Determine whether the user can delete the instance.

Parameters

User $user
FederatedSearchInstance $instance

Return Value

mixed