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

Resolve issue with serializing default permissions #10

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

NeonDaniel
Copy link
Member

@NeonDaniel NeonDaniel commented Dec 27, 2024

Description

Add unit test to address observed permissions serialization issue
Update PermissionsConfig to ensure default values are properly serialized

Issues

Other Notes

Issue observed in alpha and beta deployments of the neon-users-service when creating new users with default settings

Solution found in pydantic/pydantic#7757

Update `PermissionsConfig` to ensure default values are properly serialized
NeonDaniel added a commit to NeonGeckoCom/neon-hana that referenced this pull request Dec 27, 2024
# Description
Add default permissions for `users` to address serialization bug
Explicitly handle old refresh tokens which fail Pydantic validation

# Issues
Includes a change to default user permissions to mitigate a
serialization issue fixed in
NeonGeckoCom/neon-data-models#10

# Other Notes
<!-- Note any breaking changes, WIP changes, requests for input, etc.
here -->
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