Skip to content

fix: expose is_admin and is_superadmin in UserSchema - #40

Merged
zedrdave merged 1 commit into
mainfrom
fix/user-schema-admin-properties
Mar 15, 2026
Merged

zedrdave merged 1 commit into
mainfrom
fix/user-schema-admin-properties

Conversation

@zedrdave

Copy link
Copy Markdown
Member

Adds is_admin and is_superadmin as dump_only fields to UserSchema, exposing these core AbstractUser properties in API responses and OpenAPI spec.

Bumps version to 0.12.2.

These are core @Property fields on AbstractUser but were missing from
the schema, so they were never included in API responses or OpenAPI spec.

Bump version to 0.12.2.
@zedrdave
zedrdave merged commit 63a6e29 into main Mar 15, 2026
5 checks passed
@zedrdave
zedrdave deleted the fix/user-schema-admin-properties branch March 15, 2026 18:19
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.

1 participant