diff options
author | 2013-10-04 18:54:40 +0200 | |
---|---|---|
committer | 2013-10-04 18:54:40 +0200 | |
commit | 60c64d85ce6078c9b0a66b9808943fa60b3eb819 (patch) | |
tree | a0b208d4bfa4bf3e3f30a3d657667b58d1f4a449 /pyload/remote | |
parent | update underscore.js version (diff) | |
download | pyload-60c64d85ce6078c9b0a66b9808943fa60b3eb819.tar.xz |
stubs for Api to manage users.
Diffstat (limited to 'pyload/remote')
-rw-r--r-- | pyload/remote/pyload.thrift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/remote/pyload.thrift b/pyload/remote/pyload.thrift index 905be22b0..3d0f201e7 100644 --- a/pyload/remote/pyload.thrift +++ b/pyload/remote/pyload.thrift @@ -495,6 +495,9 @@ service Pyload { // returns own user data UserData getUserData(), + // works contextual, admin can change every password + bool setPassword(1: string username, 2: string old_password, 3: string new_password), + // all user, for admins only map<UserID, UserData> getAllUserData(), @@ -504,9 +507,6 @@ service Pyload { void updateUserData(1: UserData data), void removeUser(1: UserID uid), - // works contextual, admin can change every password - bool setPassword(1: string username, 2: string old_password, 3: string new_password), - /////////////////////// // Addon Methods /////////////////////// |