Interface | Description |
---|---|
ChangePermissionOrLabel |
A
ChangePermission or a LabelPermission . |
Class | Description |
---|---|
DefaultPermissionBackend | |
DefaultPermissionBackendModule |
Binds the default
PermissionBackend . |
DefaultPermissionBackendModule.LegacyControlsModule |
Binds legacy ProjectControl, RefControl, ChangeControl.
|
DefaultPermissionMappings |
Mappings from
GerritPermission enum instances to
the permission names used by DefaultPermissionBackend . |
FailedPermissionBackend |
Helpers for
PermissionBackend that must fail. |
LabelPermission |
Permission representing a label.
|
LabelPermission.WithValue |
A
LabelPermission at a specific value. |
PermissionBackend |
Checks authorization to perform an action on a project, reference, or change.
|
PermissionBackend.ForChange |
PermissionBackend scoped to a user, project, reference and change.
|
PermissionBackend.ForProject |
PermissionBackend scoped to a user and project.
|
PermissionBackend.ForRef |
PermissionBackend scoped to a user, project and reference.
|
PermissionBackend.RefFilterOptions |
Options for filtering refs using
PermissionBackend.ForProject . |
PermissionBackend.RefFilterOptions.Builder | |
PermissionBackend.WithUser |
PermissionBackend scoped to a specific user.
|
PermissionBackendCondition |
BooleanCondition to evaluate a permission. |
PermissionBackendCondition.ForChange | |
PermissionBackendCondition.ForProject | |
PermissionBackendCondition.ForRef | |
PermissionBackendCondition.WithUser | |
PermissionCollection |
Effective permissions applied to a reference in a project.
|
PermissionCollection.Factory | |
PluginPermissionsUtil |
Utilities for plugin permissions.
|
SectionSortCache |
Caches the order AccessSections should be sorted for evaluation.
|
Enum | Description |
---|---|
ChangePermission | |
GlobalPermission |
Global server permissions built into Gerrit.
|
LabelPermission.ForUser | |
ProjectPermission | |
RefPermission |
Exception | Description |
---|---|
PermissionBackendException |
Thrown when
PermissionBackend cannot compute the result. |
PermissionDeniedException |
This signals that some permission check failed.
|