Package com.google.gerrit.server.account
Class GroupControl
- java.lang.Object
-
- com.google.gerrit.server.account.GroupControl
-
public class GroupControl extends Object
Access control management for a group of accounts managed in Gerrit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupControl.Factory
static class
GroupControl.GenericFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAddGroup()
boolean
canAddMember()
boolean
canRemoveGroup()
boolean
canRemoveMember()
boolean
canSeeGroup()
boolean
canSeeMember(Account.Id id)
GroupDescription.Basic
getGroup()
CurrentUser
getUser()
boolean
isOwner()
boolean
isVisible()
Can this user see this group exists?
-
-
-
Method Detail
-
getGroup
public GroupDescription.Basic getGroup()
-
getUser
public CurrentUser getUser()
-
isVisible
public boolean isVisible()
Can this user see this group exists?
-
isOwner
public boolean isOwner()
-
canAddMember
public boolean canAddMember()
-
canRemoveMember
public boolean canRemoveMember()
-
canSeeMember
public boolean canSeeMember(Account.Id id)
-
canAddGroup
public boolean canAddGroup()
-
canRemoveGroup
public boolean canRemoveGroup()
-
canSeeGroup
public boolean canSeeGroup()
-
-