java.lang.Object | |
↳ | com.atlassian.jira.security.SubvertedPermissionManager |
The purpose of this class is to provide a temporary access-all-areas pass and is a (partial) implementation of PermissionManager (subverting the stored permissions). Operations that attempt to specify a change to stored permissions like adding or removing permissions and the getAllGroups() method throw an UnsupportedOperationException.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Not implemented.
| |||||||||||
Not implemented.
| |||||||||||
Not implemented.
| |||||||||||
Retrieve a list of project objects this user has the permission for
| |||||||||||
Retrieve a list of project objects this user has the permission for
| |||||||||||
Returns all the projects in the given category, or if category is null,
all projects in no category.
| |||||||||||
Retrieve a list of projects associated with the specified category, that this user has the permissions for
| |||||||||||
Retrieve a list of projects this user has the permission for
| |||||||||||
Simply returns all projects.
| |||||||||||
Always return true.
| |||||||||||
Checks whether the specified user has a specified permission within the context of a specified project.
| |||||||||||
Checks whether the specified user has a specified permission within the context of a specified project.
| |||||||||||
Checks to see if this user has the specified permission.
| |||||||||||
Always return true.
| |||||||||||
Does the same as
hasPermission(int, org.ofbiz.core.entity.GenericValue, User) except
the entity is an issue. | |||||||||||
Always return true.
| |||||||||||
Always returns true.
| |||||||||||
Always returns true.
| |||||||||||
Always returns true.
| |||||||||||
Checks to see if this has permission to see the specified entity.
| |||||||||||
Does the same as
hasPermission(int, org.ofbiz.core.entity.GenericValue, User) except
the entity is a project GenericValue. | |||||||||||
Can this user see at least one project with this permission
| |||||||||||
Returns true if there are any projects at all.
| |||||||||||
Not implemented.
| |||||||||||
Not implemented.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.security.PermissionManager
|
Not implemented.
permissionsId | Permissions value. E.g. See ADMINISTER |
---|---|
scheme | If null permission is global otherwise it is added to the scheme |
group | Used for e.g. group name |
securityType | e.g. GroupDropdown.DESC |
Not implemented.
permType | permission id |
---|---|
entity | project to retrieve groups from |
Not implemented.
permType | permission id |
---|---|
project | project from which to retrieve groups |
Retrieve a list of project objects this user has the permission for
permissionId | must NOT be a global permission |
---|---|
user | user |
Project
objects
Retrieve a list of project objects this user has the permission for
permissionId | must NOT be a global permission |
---|---|
user | user |
Project
objectsReturns all the projects in the given category, or if category is null, all projects in no category.
permissionId | ignored. |
---|---|
user | ignored. |
category | the category for which to get projects. |
Retrieve a list of projects associated with the specified category, that this user has the permissions for
permissionId | permission id |
---|---|
user | user |
category | GenericValue representing category |
Retrieve a list of projects this user has the permission for
permissionId | must NOT be a global permission |
---|---|
user | user |
Simply returns all projects.
permissionId | unused. |
---|---|
user | unused. |
Always return true.
permissionsId | ignored |
---|---|
project | ignored |
user | ignored |
Checks whether the specified user has a specified permission within the context of a specified project.
permissionsId | A non-global permission, i.e. a permission that is granted via a project context |
---|---|
project | The project that is the context of the permission check. |
user | The person to perform the permission check for |
Checks whether the specified user has a specified permission within the context of a specified project.
permissionsId | A non-global permission, i.e. a permission that is granted via a project context |
---|---|
project | The project that is the context of the permission check. |
user | The person to perform the permission check for |
issueCreation | Whether this permission is being checked during issue creation |
Checks to see if this user has the specified permission. It will check only global permissions as there are no other permissions to check.
permissionsId | permission id |
---|---|
user | user, can be null - anonymous user |
Always return true.
permissionsId | ignored |
---|---|
project | ignored |
u | ignored |
issueCreation | ignored |
Does the same as hasPermission(int, org.ofbiz.core.entity.GenericValue, User)
except
the entity is an issue.
permissionsId | Not a global permission |
---|---|
entity | Not null. |
u | User object, possibly null if JIRA is accessed anonymously |
Always return true.
permissionsId | ignored |
---|---|
project | ignored |
user | ignored |
issueCreation | ignored |
Always returns true.
permissionType | ignored |
---|---|
u | ignored |
Always returns true.
permissionsId | ignored |
---|---|
issue | ignored |
u | ignored |
Always returns true.
permissionsId | ignored |
---|---|
entity | ignored |
u | ignored |
Checks to see if this has permission to see the specified entity. Check Permissions scheme(s) if the entity is project. Check Permissions scheme(s) and issue level security scheme(s) if the entity is an issue.
permissionsId | Not a global permission |
---|---|
entity | Not null. Must be either an issue or project. |
u | User object, possibly null if JIRA is accessed anonymously |
Does the same as hasPermission(int, org.ofbiz.core.entity.GenericValue, User)
except
the entity is a project GenericValue.
permissionsId | Not a global permission |
---|---|
project | Not null. |
u | User object, possibly null if JIRA is accessed anonymously |
issueCreation | Whether this permission is being checked during issue creation |
Can this user see at least one project with this permission
permissionId | must NOT be a global permission |
---|---|
user | user being checked |
Returns true if there are any projects at all.
permissionId | ignored. |
---|---|
user | ignored. |
Not implemented.
group | The name of the group that needs to be removed, must NOT be null and must be a real group |
---|
Not implemented.
group | username of the user whose permissions are to be removed |
---|