class UserPolicy

Traits

HandlesAuthorization

Methods

bool
create(User $user)

Determine if the given user can create users.

bool
update(User $user, User $updateUser)

Determine if the given user can update the user.

bool
destroy(User $user, User $destroyUser)

Determine if the given user can delete the user.

Details

at line 19
bool create(User $user)

Determine if the given user can create users.

Parameters

User $user

Return Value

bool

at line 31
bool update(User $user, User $updateUser)

Determine if the given user can update the user.

Parameters

User $user
User $updateUser

Return Value

bool

at line 43
bool destroy(User $user, User $destroyUser)

Determine if the given user can delete the user.

Parameters

User $user
User $destroyUser

Return Value

bool