Skip to content
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

Feature Request: Add xmlrpc function to create new users #3606

Open
satwareAG-ironMike opened this issue Jan 22, 2022 · 1 comment
Open

Feature Request: Add xmlrpc function to create new users #3606

satwareAG-ironMike opened this issue Jan 22, 2022 · 1 comment

Comments

@satwareAG-ironMike
Copy link

@satwareAG-ironMike satwareAG-ironMike commented Jan 22, 2022

Why this could be useful:
3rd party applications that maintain user accounts would be enabled to create new wiki users without manual interaction. E.g. providing a centralized documentation platform with acl for a large number of users.

Current workflow:
Export users to csv and then import with usermanager mass import feature. After import the users acl are modified by the workflow using xmlrpc plugin.acl.addAcl . Deleting is also done via xmlrpc dokuwiki.deleteUsers

Proposal:
Add dokuwiki.addUser xmlrpc function.
Name: dokuwiki.createUser
Parameters: (string)username, (string)fullname, (string)email, (array)groups, (string)password (optional),(boolean)send_mail
Description: Adds a new user. When no password is provided the system generates a new one. When send_mail is true the user get's an account notification by mail.

@splitbrain
Copy link
Owner

@splitbrain splitbrain commented Jan 22, 2022

I think it makes sense to add this. Pull Requests welcome.

Note:

3rd party applications that maintain user accounts

I would advise authenticating DokuWiki directly against that 3rd party app, instead of duplicating users across multiple applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants