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

RestAPI: "add new user" by username and password #260

Open
mcicolella opened this issue Mar 17, 2017 · 2 comments
Open

RestAPI: "add new user" by username and password #260

mcicolella opened this issue Mar 17, 2017 · 2 comments

Comments

@mcicolella
Copy link
Collaborator

mcicolella commented Mar 17, 2017

Now we already have an API to add a new user but it requires the following schema as parameter

{ "name": "", "password": "", "roles": [ "" ], "properties": { "values": "java.util.Collection<V>", "empty": false, "entrySet": "Set[java.util.Map.java.util.Map$Entry<K, V>]", "keySet": [ "K" ] } }

We should add another API endpoint in which only username and password (as text parameters) are required. We could add a "role" parameter or set a default one (e.g. guest).
It could be used for #262

@mcicolella
Copy link
Collaborator Author

@p3trur0 what do you think?

@ubaldop
Copy link
Contributor

ubaldop commented Jul 6, 2017

@mcicolella I'll do that too. Please assign it to me.

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

No branches or pull requests

2 participants