From 9da5a10a77d6afdc0925e49d894260785c50d80d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 2 Nov 2023 23:37:42 -0600 Subject: [PATCH] Change the permission to device_profile_view --- app/devices/device_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index bea2a95060..c63d1b22fc 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -282,7 +282,7 @@ if (permission_exists('device_template')) { $array['devices'][0]['device_template'] = $device_template; } - if (permission_exists('device_profile_edit')) { + if (permission_exists('device_profile_view')) { $array['devices'][0]['device_profile_uuid'] = is_uuid($device_profile_uuid) ? $device_profile_uuid : null; } if (permission_exists('device_description')) {