Skip to content

Remove required fields that are filtered out when some permissions are missing - #797

Open
correct-horse-battery-bench wants to merge 2 commits into
masterfrom
2363-bug-zod-validation-error-in-case-of-missing-permissions
Open

Remove required fields that are filtered out when some permissions are missing#797
correct-horse-battery-bench wants to merge 2 commits into
masterfrom
2363-bug-zod-validation-error-in-case-of-missing-permissions

Conversation

@correct-horse-battery-bench

@correct-horse-battery-bench correct-horse-battery-bench commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

When a user does not have permission User Read then some fields are filtered out in certain responses.

Make this optional in the zod schemas.

Issues: hashtopolis/server#2363

novasam23
novasam23 previously approved these changes Aug 4, 2026
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.

[BUG]: Zod validation error in case of missing permissions

2 participants