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

GMP doc: add GROUPS to CREATE_USER #2229

Merged
merged 1 commit into from
Jun 19, 2024
Merged

Conversation

mattmundell
Copy link
Contributor

What

Add GROUPS to CREATE_USER in the GMP doc.

Why

Element was missing.

Example

Create user, adding to group:

$ o m m '<create_user><name>test8</name><password>test</password><groups><group id="986c1365-0435-4cec-aaa0-ed0922aef8e0"/></groups></create_user>'
<create_user_response status="201" status_text="OK, resource created" id="c95ba093-ab3f-4d78-9533-546242c4b31e" />

Confirm in group:

$ o m m '<get_users user_id="c95ba093-ab3f-4d78-9533-546242c4b31e"/>'
<get_users_response status="200" status_text="OK">
  <user id="c95ba093-ab3f-4d78-9533-546242c4b31e">
    <groups>
      <group id="986c1365-0435-4cec-aaa0-ed0922aef8e0">
        <name>test1</name>
      </group>
    </groups>

@mattmundell mattmundell requested a review from a team as a code owner June 18, 2024 18:41
Copy link

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@bjoernricks bjoernricks merged commit 8f5db82 into main Jun 19, 2024
11 checks passed
@bjoernricks bjoernricks deleted the gmp-doc-create-user-groups branch June 19, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants