Property | Type | Description | |
---|---|---|---|
$permissionsRepo |
Method | Description | |
---|---|---|
__construct ( |
PermissionController constructor. | |
createRole ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | Show the form to create a new role | |
deleteRole ( $id, Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
Delete a role from the system, Migrate from a previous role if set. | |
editRole ( $id ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | Show the form for editing a user role. | |
listRoles ( ) | Show a listing of the roles in the system. | |
showDeleteRole ( $id ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | Show the view to delete a role. | |
storeRole ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
Store a new role in the system. | |
updateRole ( $id, Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
Updates a user role. |
public __construct ( |
||
$permissionsRepo |
public createRole ( ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | ||
return | Illuminate\Contracts\View\Factory | Illuminate\View\View |
public deleteRole ( $id, Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
||
$id | ||
$request | Illuminate\Http\Request | |
return | Illuminate\Http\RedirectResponse | |
public editRole ( $id ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | ||
$id | ||
return | Illuminate\Contracts\View\Factory | Illuminate\View\View |
public showDeleteRole ( $id ) : Illuminate\Contracts\View\Factory | Illuminate\View\View | ||
$id | ||
return | Illuminate\Contracts\View\Factory | Illuminate\View\View |
public storeRole ( Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
||
$request | Illuminate\Http\Request | |
return | Illuminate\Http\RedirectResponse | |
public updateRole ( $id, Illuminate\Http\Request $request ) : Illuminate\Http\RedirectResponse | |
||
$id | ||
$request | Illuminate\Http\Request | |
return | Illuminate\Http\RedirectResponse | |