Package com.atlassian.jira.permission
Interface PermissionGrant
- All Superinterfaces:
WithId
- All Known Implementing Classes:
PermissionGrantImpl
Permission grant holds information about a permission granted to a certain user or group of users. It is a basic building block of
PermissionScheme
s.
A grant consists of two things:
- holder
- A person or group of people that holds the permission, see
PermissionHolder
for more details. - permission
- Project permission that is being granted. For example: view issues, browse projects, add comments. Standard JIRA permissions are defined in the
ProjectPermissions
class
Implementations of this interface are required to be immutable.
-
Field Summary
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR
-
Method Summary
Modifier and TypeMethodDescriptionReturns an entity to which the permission is being granted.getId()
Returns an id of the permission grant as stored in DB.Returns a permission that is being granted.