Commit Graph

2 Commits

Author SHA1 Message Date
Sahil Batra
dc00903d87 groups: Use realm_for_sharding for limiting NamedUserGroup queries.
For get and filter queries of NamedUserGroup, realm_for_sharding
field is used instead of realm field, as directly using
realm_for_sharding field on NamedUserGroup makes the query faster
than using realm present on the base UserGroup table.

(cherry picked from commit 764f4aa2e0)
2025-10-17 15:49:56 -07:00
Sahil Batra
460c471a29 tests: Move channel access tests to test_channel_access. 2025-05-28 17:02:41 -07:00