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 line19
bool create(User$user)

Determine if the given user can create users.

Parameters

User $user

Return Value

bool

at line31
bool update(User$user,User$updateUser)

Determine if the given user can update the user.

Parameters

User $user
User $updateUser

Return Value

bool

at line43
bool destroy(User$user,User$destroyUser)

Determine if the given user can delete the user.

Parameters

User $user
User $destroyUser

Return Value

bool