Skip to content

1.0.3 - Fix user list popup for non-admin users

Latest

Choose a tag to compare

@derneuere derneuere released this 27 Jun 17:53
· 2 commits to dev since this release
e01bfb9

Bug fixes

  • Fix the flood of "Required at results.N.…" popups shown to non-admin users on the main page (#1888, #1889).

    After the #1861 authorization hardening, GET /api/user/ returns the public-safe user serializer to non-admin users (the full serializer is reserved for admins and for a user viewing their own record). The frontend still validated every row against the full user schema, so every non-admin saw a validation-error popup on the main page. The list is now validated leniently, and the non-sensitive public_sharing flag is restored to the public serializer so the public-user discovery page keeps working. Sensitive fields (email, scan directory, Nextcloud credentials, superuser flag) remain hidden.

Full changelog: 1.0.2...1.0.3