Метод | Описание | |
---|---|---|
getForAuthority ( |
Get a list of the authority's abilities. |
Метод | Описание | |
---|---|---|
addRoleInheritCondition ( |
Add the role inheritence "where" clause to the given query. | |
getAuthorityConstraint ( |
Get a constraint for abilities that have been granted to the given authority. | |
getAuthorityRoleConstraint ( |
Get a constraint for roles that are assigned to the given authority. | |
getRoleConstraint ( |
Get a constraint for abilities that have been granted to the given authority through a role. |
protected addRoleInheritCondition ( |
||
$query | ||
$authority | ||
$roles | string | |
Результат | Closure |
protected getAuthorityConstraint ( |
||
$authority | ||
$allowed | boolean | |
Результат | Closure |
protected getAuthorityRoleConstraint ( |
||
$authority | ||
Результат | Closure |
public getForAuthority ( |
||
$authority | ||
$allowed | boolean | |
Результат | Illuminate\Database\Eloquent\Collection |
protected getRoleConstraint ( |
||
$authority | ||
$allowed | boolean | |
Результат | Closure |