Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #6052
Closed
Open
Issue created Jul 18, 2019 by bmortier@bmortierMaintainer

Manage password with the webservice

Descriptive title for this enhancement

Manage password with the webservice

Actual behavior

When we create an user we need to pass an array for the password

curl -X POST -H "SESSION-TOKEN: s89ul6bvjq6hvs08ntokhta8b4" "http://192.168.56.101/fusiondirectory/rest.php/v1/objects/user?base=ou=a,dc=nodomain" --data '{ "attrs": { "user": { "uid": "x", "userPassword": [ "","toto","toto","", false], "sn": "a", "givenName": "b" } } }' | jq .

Expected behavior

It would be more easy to just pass the password directly

Step by step description of new behaviour

  1. Login through the webservice
  2. Create an user with the webservice

Benefits

More easy to use

Possible Drawbacks

None

Assignee
Assign to
Time tracking