Use AccountGroup.UUID instead of Account.Id
By switching to the UUID we can have a globally unique identifier for group membership throughout the server, even if group information comes in from a different data source. Change-Id: Icb49d6a6aff8e62864ac0f78ceedbe03f01de894 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -20,8 +20,8 @@ import java.util.Collection;
|
||||
|
||||
/** Tracks group inclusions in memory for efficient access. */
|
||||
public interface GroupIncludeCache {
|
||||
public Collection<AccountGroup.Id> getByInclude(AccountGroup.Id groupId);
|
||||
public Collection<AccountGroup.UUID> getByInclude(AccountGroup.UUID groupId);
|
||||
|
||||
public void evictInclude(AccountGroup.Id groupId);
|
||||
public void evictInclude(AccountGroup.UUID groupId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user