Package com.google.gerrit.server.permissions
package com.google.gerrit.server.permissions
-
ClassDescriptionAbstract permission representing a label.A
AbstractLabelPermission
at a specific value.Binds the defaultPermissionBackend
.Binds legacy ProjectControl, RefControl, ChangeControl.Mappings fromGerritPermission
enum instances to the permission names used byDefaultPermissionBackend
.Helpers forPermissionBackend
that must fail.This class can tell efficiently if changes are visible to a user.Global server permissions built into Gerrit.Permission representing a label.ALabelPermission
at a specific value.Permission representing a label removal.ALabelRemovalPermission
at a specific value.Checks authorization to perform an action on a project, reference, or change.PermissionBackend scoped to a user, project, reference and change.PermissionBackend scoped to a user and project.PermissionBackend scoped to a user, project and reference.Options for filtering refs usingPermissionBackend.ForProject
.PermissionBackend scoped to a specific user.BooleanCondition
to evaluate a permission.Thrown whenPermissionBackend
cannot compute the result.Effective permissions applied to a reference in a project.This signals that some permission check failed.Utilities for plugin permissions.Caches the order AccessSections should be sorted for evaluation.