From 24e87cc0bbcae91a379ddb268661c0a39408b3f8 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 11 Apr 2024 14:51:49 +0100 Subject: [PATCH] Updated comment Signed-off-by: snipe --- app/Policies/SnipePermissionsPolicy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Policies/SnipePermissionsPolicy.php b/app/Policies/SnipePermissionsPolicy.php index 3f385f2d49..93d6074cdb 100644 --- a/app/Policies/SnipePermissionsPolicy.php +++ b/app/Policies/SnipePermissionsPolicy.php @@ -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,