diff options
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 1bd194f94..fc2ce8e29 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -839,6 +839,15 @@ class ServerMethods(): def checkAuth(self, username, password): return self.core.db.checkAuth(username, password) + def get_user_data(self): + return self.core.db.getAllUserData() + + def set_user_permission(self, user, permission, role): + + self.core.db.setPermission(user, permission) + self.core.db.setRole(user, role) + + def deamon(): try: pid = os.fork() |