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

Closed
opened 2025-10-09 16:49:18 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @donkevlar on GitHub.

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. ### 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 2025-10-09 16:49:18 +03:00
Author
Owner

@stonith404 commented on GitHub:

Thanks for reporting. This should be fixed.

@stonith404 commented on GitHub: 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-pocket-id-2#473