Menu

## UsergroupPolicy
in package
uses HandlesAuthorization

UsergroupPolicy.php : 9

### Table of Contents

#### Methods

create() : mixed
  Determine whether the user can create usergroups.
delete() : mixed
  Determine whether the user can delete the usergroup.
forceDelete() : mixed
  Determine whether the user can permanently delete the usergroup.
restore() : mixed
  Determine whether the user can restore the usergroup.
update() : mixed
  Determine whether the user can update the usergroup.
view() : mixed
  Determine whether the user can view the usergroup.
viewAny() : mixed
  Determine whether the user can view any usergroups.

### Methods

#### create()

UsergroupPolicy.php : 44

Determine whether the user can create usergroups.

`public create(User $user) : mixed`

##### Parameters

$user : User

#### delete()

UsergroupPolicy.php : 70

Determine whether the user can delete the usergroup.

`public delete(User $user, Usergroup $usergroup) : mixed`

##### Parameters

$user : User
$usergroup : Usergroup

#### forceDelete()

UsergroupPolicy.php : 94

Determine whether the user can permanently delete the usergroup.

`public forceDelete(User $user, Usergroup $usergroup) : mixed`

##### Parameters

$user : User
$usergroup : Usergroup

#### restore()

UsergroupPolicy.php : 82

Determine whether the user can restore the usergroup.

`public restore(User $user, Usergroup $usergroup) : mixed`

##### Parameters

$user : User
$usergroup : Usergroup

#### update()

UsergroupPolicy.php : 57

Determine whether the user can update the usergroup.

`public update(User $user, Usergroup $usergroup) : mixed`

##### Parameters

$user : User
$usergroup : Usergroup

#### view()

UsergroupPolicy.php : 32

Determine whether the user can view the usergroup.

`public view(User $user, Usergroup $usergroup) : mixed`

##### Parameters

$user : User
$usergroup : Usergroup

#### viewAny()

UsergroupPolicy.php : 19

Determine whether the user can view any usergroups.

`public viewAny(User $user) : mixed`

##### Parameters

$user : User

## Search results