🐛 Bug Report: DEV Image cannot create non admin users #45

Closed
opened 2026-02-04 16:52:57 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @donkevlar on GitHub (Oct 27, 2024).

Reproduction steps

Using the dev docker image. Create a new user in the UI with all details. Leaving "Admin" box as false.

Expected behavior

Create the non-admin new user without errors.

Actual Behavior

Prompts with a 'isAdmin' is required. Note that if you do check 'Admin' this prompt goes away and the user is created successfully. However, you cannot remove the admin role from a user once it has been added also.

Log spits out:

Error #01: Key: 'UserCreateDto.IsAdmin' Error:Field validation for 'IsAdmin' failed on the 'required' tag

Originally created by @donkevlar on GitHub (Oct 27, 2024). ### Reproduction steps Using the dev docker image. Create a new user in the UI with all details. Leaving "Admin" box as false. ### Expected behavior Create the non-admin new user without errors. ### Actual Behavior Prompts with a 'isAdmin' is required. Note that if you do check 'Admin' this prompt goes away and the user is created successfully. However, you cannot remove the admin role from a user once it has been added also. Log spits out: `Error #01: Key: 'UserCreateDto.IsAdmin' Error:Field validation for 'IsAdmin' failed on the 'required' tag`
OVERLORD added the bug label 2026-02-04 16:52:57 +03:00
Author
Owner

@stonith404 commented on GitHub (Oct 27, 2024):

Thanks for reporting. This should be fixed.

@stonith404 commented on GitHub (Oct 27, 2024): Thanks for reporting. This should be fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#45