Method | Description | |
---|---|---|
getForAuthority ( |
Get a list of the authority's abilities. |
Method | Description | |
---|---|---|
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 | |
return | Closure |
protected getAuthorityConstraint ( |
||
$authority | ||
$allowed | boolean | |
return | Closure |
protected getAuthorityRoleConstraint ( |
||
$authority | ||
return | Closure |
public getForAuthority ( |
||
$authority | ||
$allowed | boolean | |
return | Illuminate\Database\Eloquent\Collection |
protected getRoleConstraint ( |
||
$authority | ||
$allowed | boolean | |
return | Closure |