-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new commands for user management #109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments :)
d59a4ab
to
f54ff6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nitpicks
On another note, i see some commands clear the session, some don't. Can we make some ground rules?
|
* Added `deleteUser` for deleting existing users on the Nextcloud instance * Added `listUsers` for querying registered user IDs * Added `modifyUser` to change user metadata * Added `userData` to query user metadata (added mainly to test `modifyUser`) Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
f54ff6d
to
e27028c
Compare
Fixed the remaining comments, and also
Added such a warning for all methods which reset the cookies
This is already done |
@susnux I meant more generally speaking, adding some documentation in the readme maybe when we have time :) But thanks for doing this right now!! You're awesome! Great addition!! 🚀 🪅 |
deleteUser
for deleting existing users on the Nextcloud instancelistUsers
for querying registered user IDsmodifyUser
to change user metadatauserData
to query user metadata (added mainly to testmodifyUser
)This commands are currently used at least by the text app, but they are commonly useful also for other apps.
So I guess it would be best to integrate them into this library as a part of nextcloud/text#2201 .