Package com.google.gerrit.server.permissions
@CheckReturnValue
package com.google.gerrit.server.permissions
-
ClassDescriptionAbstract permission representing a label.A
AbstractLabelPermission
at a specific value.Access control management for a user accessing a single change.Binds the defaultPermissionBackend
.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.Access control management for a user accessing a project's data.Manages access control for Git references (aka branches, tags).This class is a component that is internal toDefaultPermissionBackend
.Caches the order AccessSections should be sorted for evaluation.