public interface ManagedPermissionSchemeHelper
Modifier and Type | Method and Description |
---|---|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
addManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
PermissionsInputBean inputBean)
This allows a list of security types to be add to a list of permissions inside a permission scheme
|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
getManagedPermissionScheme(ApplicationUser user,
Long permissionSchemeId)
Gets information that allows the manage permission scheme to be displayed
|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
getManagedPermissionSchemeAddView(ApplicationUser user,
Long permissionSchemeId,
String permissionKey)
Gets information that allows the add to permission scheme to be displayed
|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> |
getManagedPermissionSchemeAddViewSecurityTypes(ApplicationUser user)
Returns the security types split into primary and secondary types for display.
|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> |
removeManagedPermissionSchemeGrants(ApplicationUser user,
Long permissionSchemeId,
List<Long> grantsToDelete)
This allows a list of security types to be removed from a permission scheme
|
com.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> getManagedPermissionScheme(ApplicationUser user, Long permissionSchemeId)
user
- the user in playpermissionSchemeId
- the permission scheme to showcom.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> getManagedPermissionSchemeAddView(ApplicationUser user, Long permissionSchemeId, String permissionKey)
user
- the user in playpermissionSchemeId
- the permission scheme to be added topermissionKey
- the key to add tocom.atlassian.fugue.Either<ErrorCollection,ProjectPermissionAddBean> getManagedPermissionSchemeAddViewSecurityTypes(ApplicationUser user)
user
- the user in playcom.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> addManagedPermissionSchemeGrants(ApplicationUser user, Long permissionSchemeId, PermissionsInputBean inputBean)
user
- the user in playpermissionSchemeId
- the permission scheme to be deleted frominputBean
- the grants things to add and to what permissions to add them tocom.atlassian.fugue.Either<ErrorCollection,ProjectPermissionSchemeBean> removeManagedPermissionSchemeGrants(ApplicationUser user, Long permissionSchemeId, List<Long> grantsToDelete)
user
- the user in playpermissionSchemeId
- the permission scheme to be deleted fromgrantsToDelete
- the security type grants to remove from the schemeCopyright © 2002-2016 Atlassian. All Rights Reserved.