Package | Description |
---|---|
com.atlassian.jira.event.permission | |
com.atlassian.jira.rest.v2.permission | |
com.atlassian.jira.security | |
com.atlassian.jira.security.plugin |
Modifier and Type | Method and Description |
---|---|
GlobalPermissionType |
AbstractGlobalPermissionEvent.getGlobalPermissionType() |
Constructor and Description |
---|
AbstractGlobalPermissionEvent(GlobalPermissionType globalPermissionType,
String group) |
GlobalPermissionAddedEvent(GlobalPermissionType globalPermissionType,
String group) |
GlobalPermissionDeletedEvent(GlobalPermissionType globalPermissionType,
String group) |
Modifier and Type | Method and Description |
---|---|
static PermissionJsonBean |
PermissionJsonBean.fromGlobalPermission(GlobalPermissionType globalPermission,
JiraAuthenticationContext authenticationContext) |
Constructor and Description |
---|
UserPermissionJsonBean(GlobalPermissionType globalPermissionType,
boolean havePermission,
JiraAuthenticationContext authenticationContext)
Construct a bean using a Global Permission - rather than the Permission enum
|
Modifier and Type | Field and Description |
---|---|
static List<GlobalPermissionType> |
MockGlobalPermissionTypeManager.SYSTEM_PERMISSIONS |
Modifier and Type | Method and Description |
---|---|
Collection<GlobalPermissionType> |
MockGlobalPermissionTypeManager.getAll() |
Collection<GlobalPermissionType> |
DefaultGlobalPermissionManager.getAllGlobalPermissions() |
Collection<GlobalPermissionType> |
GlobalPermissionManager.getAllGlobalPermissions() |
io.atlassian.fugue.Option<GlobalPermissionType> |
MockGlobalPermissionTypeManager.getGlobalPermission(GlobalPermissionKey permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
DefaultGlobalPermissionManager.getGlobalPermission(GlobalPermissionKey permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionManager.getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the global permission details for the given permission key.
|
io.atlassian.fugue.Option<GlobalPermissionType> |
DefaultGlobalPermissionManager.getGlobalPermission(int permissionId) |
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionManager.getGlobalPermission(int permissionId)
Deprecated.
use
GlobalPermissionManager.getGlobalPermission(GlobalPermissionKey)
to get global permission by key. Eventually, we want to stop referring to Global Permission's by ID. |
io.atlassian.fugue.Option<GlobalPermissionType> |
MockGlobalPermissionTypeManager.getGlobalPermission(String permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
DefaultGlobalPermissionManager.getGlobalPermission(String permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionManager.getGlobalPermission(String permissionKey)
Returns a global permission matching the specified key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultGlobalPermissionManager.addPermission(GlobalPermissionType globalPermissionType,
String group) |
boolean |
GlobalPermissionManager.addPermission(GlobalPermissionType globalPermissionType,
String group)
Grants a user group a global permission.
|
Collection<String> |
DefaultGlobalPermissionManager.getGroupNames(GlobalPermissionType globalPermissionType) |
Collection<String> |
GlobalPermissionManager.getGroupNames(GlobalPermissionType globalPermissionType)
Deprecated.
Use
GlobalPermissionManager.getGroupNamesWithPermission(com.atlassian.jira.permission.GlobalPermissionKey) instead. Since v6.2.5. |
Collection<com.atlassian.crowd.embedded.api.Group> |
DefaultGlobalPermissionManager.getGroupsWithPermission(GlobalPermissionType globalPermissionType) |
Collection<com.atlassian.crowd.embedded.api.Group> |
GlobalPermissionManager.getGroupsWithPermission(GlobalPermissionType globalPermissionType)
Deprecated.
Use
GlobalPermissionManager.getGroupsWithPermission(com.atlassian.jira.permission.GlobalPermissionKey) instead. Since v6.2.5. |
Collection<GlobalPermissionEntry> |
DefaultGlobalPermissionManager.getPermissions(GlobalPermissionType globalPermissionType) |
Collection<GlobalPermissionEntry> |
GlobalPermissionManager.getPermissions(GlobalPermissionType globalPermissionType)
Deprecated.
Use
GlobalPermissionManager.getPermissions(com.atlassian.jira.permission.GlobalPermissionKey) instead. Since v6.2.5. |
boolean |
DefaultGlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType) |
boolean |
GlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType)
Deprecated.
|
boolean |
DefaultGlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType,
ApplicationUser user) |
boolean |
GlobalPermissionManager.hasPermission(GlobalPermissionType globalPermissionType,
ApplicationUser user)
Deprecated.
|
boolean |
DefaultGlobalPermissionManager.removePermission(GlobalPermissionType globalPermissionType,
String group) |
boolean |
GlobalPermissionManager.removePermission(GlobalPermissionType globalPermissionType,
String group)
Revokes a global permission for a user group
|
Modifier and Type | Method and Description |
---|---|
Collection<GlobalPermissionType> |
GlobalPermissionTypesManagerImpl.getAll() |
Collection<GlobalPermissionType> |
GlobalPermissionTypesManager.getAll()
Returns all global permissions defined in this JIRA instance.
|
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionTypesManagerImpl.getGlobalPermission(GlobalPermissionKey permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionTypesManager.getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the details of the given Global Permission.
|
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionTypesManagerImpl.getGlobalPermission(String permissionKey) |
io.atlassian.fugue.Option<GlobalPermissionType> |
GlobalPermissionTypesManager.getGlobalPermission(String permissionKey)
Returns the details of the given Global Permission.
|
Copyright © 2002-2021 Atlassian. All Rights Reserved.