Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names)

This commit is contained in:
Alfredo Cardigliano 2021-07-02 16:51:40 +02:00
parent 96c5e2025d
commit ca6707c54a
52 changed files with 53 additions and 53 deletions

View file

@ -12,7 +12,7 @@ local template_utils = require "template_utils"
sendHTTPContentTypeHeader('text/html')
if not haveAdminPrivileges() then return end
if not isAdministratorOrPrintErr() then return end
-- The order key is used to set an order for the rendered list in the page
local configuration_items