class UserPolicy

Traits

HandlesAuthorization

Methods

bool
index(User $user)

Determine if the given user can see other users.

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 index(User $user)

Determine if the given user can see other users.

Parameters

User $user

Return Value

bool

at line 30
bool create(User $user)

Determine if the given user can create users.

Parameters

User $user

Return Value

bool

at line 42
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 54
bool destroy(User $user, User $destroyUser)

Determine if the given user can delete the user.

Parameters

User $user
User $destroyUser

Return Value

bool