Files
huly-platform/server
698b287e6f fix(account): hasWorkspacePermission returned true for missing grants (#11067)
findOne resolves to null when nothing matches, but both the Postgres and
the Mongo implementation compared the result against undefined, so every
lookup reported the permission as granted. Compare against null instead.

Signed-off-by: Michael Uray <michaeluray@users.noreply.github.com>
Co-authored-by: Michael Uray <michaeluray@users.noreply.github.com>
2026-10-14 07:50:21 +02:00
..