[API] cannot add multiple users to a same workspace through add-user command
When adding multiple users in a row using add-user
command, for instance like this:
java -jar ./lib/petals-cockpit-*-capsule.jar add-user -u topito -n topito -p topito -a -w WorkspaceTopSecretTopito ./conf/config.yml
java -jar ./lib/petals-cockpit-*-capsule.jar add-user -u cchevalier -n cchevalier -p cchevalier -a -w WorkspaceTopSecretTopito ./conf/config.yml
java -jar ./lib/petals-cockpit-*-capsule.jar add-user -u petals -n petals -p petals -a -w TestWorkspace ./conf/config.yml
There is no error displayed while running the command and all users are created and added, but it seems that each one is in its own workspace, and only one workspace appears in the workspace list, the user own workspace. (while logging with each user)
Expected behaviour would be:
- only two workspace are created
- a user being created on an existing workspace (in the example above:
cchevalier
) would be added to it (instead of creating a new one) - all workspaces should be visible in the workspace list