public class AccountControl
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AccountControl.Factory |
Modifier and Type | Method and Description |
---|---|
boolean |
canSee(com.google.gerrit.reviewdb.client.Account.Id otherUser)
Returns true if the otherUser is allowed to see the current user, based
on the account visibility policy.
|
boolean |
canSee(com.google.gerrit.reviewdb.client.Account otherUser)
Returns true if the otherUser is allowed to see the current user, based
on the account visibility policy.
|
public boolean canSee(com.google.gerrit.reviewdb.client.Account otherUser)
GroupMembership.getKnownGroups()
may only return a subset of the
effective groups.public boolean canSee(com.google.gerrit.reviewdb.client.Account.Id otherUser)
GroupMembership.getKnownGroups()
may only return a subset of the
effective groups.