diff --git a/server_privileges.php b/server_privileges.php index 14897a70ee..4b36436b41 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -138,6 +138,11 @@ if (!$GLOBALS['is_superuser'] && !$GLOBALS['is_grantuser'] ); exit; } +if (! $GLOBALS['is_grantuser'] && !$GLOBALS['is_createuser']) { + $response->addHTML(Message::notice( + __('You do not have privileges to manipulate with the users!') + )->getDisplay()); +} /** * Checks if the user is using "Change Login Information / Copy User" dialog