Updated comment

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-04-11 14:51:49 +01:00
parent 460693c153
commit 24e87cc0bb

View file

@ -36,7 +36,7 @@ abstract class SnipePermissionsPolicy
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.
*
* This does lead to some inconsistencies in the responses, since attempting to edit assets,