Query all external groups for internal group memberships

When asking for the known groups a user belongs to they may belong
to an internal group by way of membership in a non-internal group,
such as LDAP. Cache in memory the complete list of any non-internal
group UUIDs used as members of an internal group. These must get
checked for membership before completing the known group data from
the internal backend.

Change-Id: I10aef9f185915771deb58f4f180818c08e784ea3
This commit is contained in:
Shawn Pearce
2013-01-18 10:43:04 -08:00
parent 8f07bbbd90
commit 791c3ae9a4
4 changed files with 69 additions and 2 deletions

View File

@@ -32,4 +32,7 @@ public interface AccountGroupIncludeByUuidAccess extends
@Query("WHERE key.groupId = ?")
ResultSet<AccountGroupIncludeByUuid> byGroup(AccountGroup.Id id) throws OrmException;
@Query("")
ResultSet<AccountGroupIncludeByUuid> all() throws OrmException;
}