diff options
author | Simon Rettberg | 2022-04-22 16:44:49 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-04-22 16:44:49 +0200 |
commit | ccacd6a6abcee5bc1f2a078e5b8fc4edefec6b03 (patch) | |
tree | 567f99dc9890e4cf57c88fc17a353b70c539f951 /modules-available/passthrough | |
parent | [statistics] Fix hwquery grouping (diff) | |
download | slx-admin-ccacd6a6abcee5bc1f2a078e5b8fc4edefec6b03.tar.gz slx-admin-ccacd6a6abcee5bc1f2a078e5b8fc4edefec6b03.tar.xz slx-admin-ccacd6a6abcee5bc1f2a078e5b8fc4edefec6b03.zip |
[passthrough] Fix permission name
Diffstat (limited to 'modules-available/passthrough')
-rw-r--r-- | modules-available/passthrough/hooks/locations-column.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/passthrough/hooks/locations-column.inc.php b/modules-available/passthrough/hooks/locations-column.inc.php index 3d12a0f8..2c09bd73 100644 --- a/modules-available/passthrough/hooks/locations-column.inc.php +++ b/modules-available/passthrough/hooks/locations-column.inc.php @@ -23,7 +23,7 @@ class PassthroughLocationColumn extends AbstractLocationColumn public function getEditUrl(int $locationId): string { - if (!User::hasPermission('.passthrough.assign', $locationId)) + if (!User::hasPermission('.passthrough.edit.location', $locationId)) return ''; return '?do=passthrough&show=assignlocation&locationid=' . $locationId; } |