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

fix(api): Fix users endpoints #1278

Merged
merged 2 commits into from
Oct 24, 2024
Merged

fix(api): Fix users endpoints #1278

merged 2 commits into from
Oct 24, 2024

Conversation

Etsija
Copy link
Contributor

@Etsija Etsija commented Oct 23, 2024

Please see the commits for details.

The response of the query was missing the response type in apiDocs, and
as a consequence, User type was not created to the API query client in
the UI.

Signed-off-by: Jyrki Keisala <[email protected]>
@Etsija Etsija marked this pull request as ready for review October 23, 2024 09:06
@Etsija Etsija enabled auto-merge October 23, 2024 09:33
@Etsija Etsija disabled auto-merge October 23, 2024 09:37
@Etsija Etsija marked this pull request as draft October 23, 2024 09:37
@Etsija Etsija changed the title fix(api): Fix list users query response fix(api): Fix users endpoints Oct 23, 2024
The User data model includes also first name, last name and an e-mail
address, but the request object for creating new users was missing those,
in effect preventing to set the corr. attributes when creating new users.

Signed-off-by: Jyrki Keisala <[email protected]>
@Etsija Etsija marked this pull request as ready for review October 23, 2024 10:57
@Etsija Etsija enabled auto-merge October 23, 2024 10:57
@Etsija Etsija force-pushed the fix-list-users branch 2 times, most recently from 3a53f9c to 234228b Compare October 24, 2024 06:10
@sschuberth
Copy link
Contributor

@oheger-bosch could you maybe have a look?

Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
@Etsija Etsija added this pull request to the merge queue Oct 24, 2024
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Merged via the queue into main with commit 08c4b7a Oct 24, 2024
13 checks passed
@Etsija Etsija deleted the fix-list-users branch October 24, 2024 11:08
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 24, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 25, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 25, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 25, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
Etsija added a commit that referenced this pull request Oct 25, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Oct 25, 2024
PR #1278 extends user creation by adding optional first name, last name
and email to the user information.

Add these fields to the user creation form and mark them as optional.

Signed-off-by: Jyrki Keisala <[email protected]>
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.

3 participants