void
|
addPermission(int permissionsId, GenericValue scheme, String parameter, String securityType)
Adds a permission to the system
|
Collection<Group>
|
getAllGroups(int permissionId, Project project)
Retrieve all groups that are used in the permission globally and in the project.
|
PermissionSchemeManager
|
getPermissionSchemeManager()
|
ProjectManager
|
getProjectManager()
|
Collection<Project>
|
getProjectObjects(int permissionId, User user)
Retrieve a list of project objects this user has the permission for
|
Collection<Project>
|
getProjects(int permissionId, User user, ProjectCategory projectCategory)
Returns the list of projects associated with the specified category, that this user has the permissions for.
|
Collection<GenericValue>
|
getProjects(int permissionId, User user, GenericValue category)
Retrieve a list of projects associated with the specified category, that this user has the permissions for
|
Collection<Project>
|
getProjects(int permissionId, ApplicationUser user, ProjectCategory projectCategory)
Returns the list of projects associated with the specified category, that this user has the permissions for.
|
Collection<Project>
|
getProjects(int permissionId, ApplicationUser user)
Retrieve a list of project objects this user has the permission for
|
Collection<GenericValue>
|
getProjects(int permissionId, User user)
Retrieve a list of projects this user has the permission for
|
boolean
|
hasPermission(int permissionsId, ApplicationUser user)
Checks to see if this user has the specified permission.
|
boolean
|
hasPermission(int permissionsId, Project project, User user)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean
|
hasPermission(int permissionsId, GenericValue entity, User user, boolean issueCreation)
|
boolean
|
hasPermission(int permissionsId, Project project, User user, boolean issueCreation)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean
|
hasPermission(int permissionsId, Project project, ApplicationUser user, boolean issueCreation)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean
|
hasPermission(int permissionsId, User user)
Checks to see if this user has the specified permission
It will check only global permissions as there are no other permissions to check
|
boolean
|
hasPermission(int permissionsId, Issue issue, User user)
Checks to see if this user has permission to see the specified issue.
|
boolean
|
hasPermission(int permissionsId, GenericValue projectOrIssue, User user)
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
|
boolean
|
hasPermission(int permissionsId, Project project, ApplicationUser user)
Checks whether the specified user has a specified permission within the context of a specified project.
|
boolean
|
hasPermission(int permissionsId, Issue issue, ApplicationUser user)
Checks to see if this user has permission to see the specified issue.
|
boolean
|
hasProjectPermission(Long permission, GenericValue entity, User user, boolean issueCreation)
Return true if the supplied user has the specified permission in the context of the supplied entity
|
boolean
|
hasProjects(int permissionId, User user)
Can this user see at least one project with this permission
|
boolean
|
hasProjects(int permissionId, ApplicationUser user)
Can this user see at least one project with this permission
|
boolean
|
isGlobalPermission(int permissionId)
|
void
|
removeGroupPermissions(String group)
Remove all permissions that have used this group
|
void
|
removeUserPermissions(String username)
Remove all permissions that have used this username
|
void
|
removeUserPermissions(ApplicationUser user)
Remove all permissions that have been assigned to this user
|