Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/WebAppDIRAC/WebApp/handler/SystemAdministrationHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def web_getHostLog(self, host=None, system=None, component=None):

return {"success": "true", "result": log.replace("\n", "<br>")}

@authorization([Properties.CSAdministrator, Properties.ServiceAdministrator])
@authorization([Properties.CS_ADMINISTRATOR, Properties.SERVICE_ADMINISTRATOR])
def web_hostAction(self, host=None, action=None, version=None):
"""
Restart all DIRAC components on a given host
Expand Down Expand Up @@ -170,7 +170,7 @@ def web_hostAction(self, host=None, action=None, version=None):

return self.aftermath(actionSuccess, actionFailed, action, "Host")

@authorization([Properties.CSAdministrator, Properties.ServiceAdministrator])
@authorization([Properties.CS_ADMINISTRATOR, Properties.SERVICE_ADMINISTRATOR])
def web_componentAction(self, action=None, **kwargs):
"""
Actions which should be done on components. The only parameters is an action
Expand Down
Loading