@PublicApi public interface PermissionGrant extends WithId
PermissionScheme
s.
A grant consists of two things:
PermissionHolder
for more details.
ProjectPermissions
classImplementations of this interface are required to be immutable.
ID_COMPARATOR
Modifier and Type | Method and Description |
---|---|
PermissionHolder |
getHolder()
Returns an entity to which the permission is being granted.
|
Long |
getId()
Returns an id of the permission grant as stored in DB.
|
ProjectPermissionKey |
getPermission()
Returns a permission that is being granted.
|
@Nonnull PermissionHolder getHolder()
@Nonnull ProjectPermissionKey getPermission()
Copyright © 2002-2024 Atlassian. All Rights Reserved.