mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Updated comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
460693c153
commit
24e87cc0bb
|
@ -36,7 +36,7 @@ abstract class SnipePermissionsPolicy
|
||||||
public function before(User $user, $ability, $item)
|
public function before(User $user, $ability, $item)
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* If an admin, they can do all asset related tasks, but constrained by FMCSA company access.
|
* If an admin, they can do all item related tasks, but ARE constrained by FMCSA company access.
|
||||||
* That scoping happens on the model level (except for the Users model) via the Companyable trait.
|
* That scoping happens on the model level (except for the Users model) via the Companyable trait.
|
||||||
*
|
*
|
||||||
* This does lead to some inconsistencies in the responses, since attempting to edit assets,
|
* This does lead to some inconsistencies in the responses, since attempting to edit assets,
|
||||||
|
|
Loading…
Reference in a new issue