diff --git a/app/edit/index.php b/app/edit/index.php index 0474d516d4..a463ef13bf 100644 --- a/app/edit/index.php +++ b/app/edit/index.php @@ -30,7 +30,7 @@ require_once "resources/check_auth.php"; //check permissions - if (permission_exists('script_editor_view')) { + if (permission_exists('edit_view')) { //access granted } else {