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

Updating SUser #1021

Open
TitouanGisle opened this issue Aug 6, 2019 · 3 comments

Comments

@TitouanGisle
Copy link

commented Aug 6, 2019

Hi !

Just like it is possible to update a SProject via the API, would it be possible to also update a SUser?
Or is there already a way that I have yet to find ?

Thanks for your consideration !

@rubendel

This comment has been minimized.

Copy link
Member

commented Aug 6, 2019

A few fields can be updated with the AuthInterface.changePassword, ServiceInterface.changeUserType and ServiceInterface.deleteUser calls.

I guess the only other fields that could be interesting are the name and username fields, are those the ones you are interested in?

@TitouanGisle

This comment has been minimized.

Copy link
Author

commented Aug 6, 2019

Unfortunately yes.

@rubendel

This comment has been minimized.

Copy link
Member

commented Aug 6, 2019

I think name could be implemented quite easily, simply by copying the code involved at ServiceInterface.updateProject.

Implementing a change of username could prove to be a bit more difficult since it's for example also used in the "incoming/[username]" path. Also in theory the new email adres should be validated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.