SuperUserManagement Module
Module: ProjectManager
I am the SuperUserManagement which ensures, that the ProjectManager is logged at the server with the password of the one-and-only super user.
Item Index
Methods
Methods
ensureAdminAccess
(
-
success
-
fail
I check wether the user is logged as the super user, and if not, provide the the login interface.
isLoggedIn
(
-
success
-
fail
I check if the master user is logged in and call the respective successCallback or failCallback
login
()
I perform the login request to the server and call afterwards the respective successCallback or failCallback, which were previously stored in module variables by {{crossLink "SuperUserManagement/ensureAdminAccess:method"}}SuperUserManagement/ensureAdminAccess(){{/crossLink}}.
logout
()
I logout the user at the server and afterwards reload the page.