public static interface

PermissionSchemes.PermissionScheme

com.atlassian.jira.functest.framework.admin.PermissionSchemes.PermissionScheme
Known Indirect Subclasses

Class Overview

Represents a permission scheme that actions can be carried out on

Summary

Public Methods
void grantPermissionToApplicationRole(ProjectPermissionKey permission, String applicationRoleId)
void grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
@Deprecated void grantPermissionToCurrentAssignee(int permission)
void grantPermissionToCurrentAssignee(String permission)
void grantPermissionToGroup(String permission, String groupName)
void grantPermissionToGroup(ProjectPermissionKey permission, String groupName)
@Deprecated void grantPermissionToGroup(int permission, String groupName)
@Deprecated void grantPermissionToGroupCustomFieldValue(int permission, String customFieldId)
void grantPermissionToGroupCustomFieldValue(String permission, String customFieldId)
void grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
@Deprecated void grantPermissionToProjectLead(int permission)
This method is deprecated. Use grantPermissionToProjectLead(ProjectPermissionKey).
void grantPermissionToProjectLead(ProjectPermissionKey permission)
void grantPermissionToProjectLead(String permission)
void grantPermissionToProjectRole(ProjectPermissionKey permission, String projectRoleId)
@Deprecated void grantPermissionToProjectRole(int permission, String projectRoleId)
void grantPermissionToProjectRole(String permission, String projectRoleId)
void grantPermissionToReporter(String permission)
@Deprecated void grantPermissionToReporter(int permission)
This method is deprecated. Use grantPermissionToReporter(ProjectPermissionKey).
void grantPermissionToReporter(ProjectPermissionKey permission)
@Deprecated void grantPermissionToSingleUser(int permission, String username)
void grantPermissionToSingleUser(ProjectPermissionKey permission, String username)
void grantPermissionToSingleUser(String permission, String username)
void grantPermissionToUserCustomFieldValue(String permission, String customFieldId)
@Deprecated void grantPermissionToUserCustomFieldValue(int permission, String customFieldId)
void grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
void removePermission(ProjectPermissionKey permissionType, String permissionParam)
@Deprecated void removePermission(int permissionType, String permissionParam)
void removePermission(String permissionType, String permissionParam)
void removePermission(GlobalPermissionKey permissionType, String permissionParam)

Public Methods

public void grantPermissionToApplicationRole (ProjectPermissionKey permission, String applicationRoleId)

public void grantPermissionToCurrentAssignee (ProjectPermissionKey permission)

@Deprecated public void grantPermissionToCurrentAssignee (int permission)

public void grantPermissionToCurrentAssignee (String permission)

public void grantPermissionToGroup (String permission, String groupName)

public void grantPermissionToGroup (ProjectPermissionKey permission, String groupName)

@Deprecated public void grantPermissionToGroup (int permission, String groupName)

@Deprecated public void grantPermissionToGroupCustomFieldValue (int permission, String customFieldId)

public void grantPermissionToGroupCustomFieldValue (String permission, String customFieldId)

public void grantPermissionToGroupCustomFieldValue (ProjectPermissionKey permission, String customFieldId)

@Deprecated public void grantPermissionToProjectLead (int permission)

This method is deprecated.
Use grantPermissionToProjectLead(ProjectPermissionKey).

public void grantPermissionToProjectLead (ProjectPermissionKey permission)

public void grantPermissionToProjectLead (String permission)

public void grantPermissionToProjectRole (ProjectPermissionKey permission, String projectRoleId)

@Deprecated public void grantPermissionToProjectRole (int permission, String projectRoleId)

public void grantPermissionToProjectRole (String permission, String projectRoleId)

public void grantPermissionToReporter (String permission)

@Deprecated public void grantPermissionToReporter (int permission)

This method is deprecated.
Use grantPermissionToReporter(ProjectPermissionKey).

public void grantPermissionToReporter (ProjectPermissionKey permission)

@Deprecated public void grantPermissionToSingleUser (int permission, String username)

public void grantPermissionToSingleUser (ProjectPermissionKey permission, String username)

public void grantPermissionToSingleUser (String permission, String username)

public void grantPermissionToUserCustomFieldValue (String permission, String customFieldId)

@Deprecated public void grantPermissionToUserCustomFieldValue (int permission, String customFieldId)

public void grantPermissionToUserCustomFieldValue (ProjectPermissionKey permission, String customFieldId)

public void removePermission (ProjectPermissionKey permissionType, String permissionParam)

@Deprecated public void removePermission (int permissionType, String permissionParam)

This method is deprecated.
Use removePermission(ProjectPermissionKey, String) or removePermission(GlobalPermissionKey, String).

Remove the given permission setting.

Parameters
permissionType the permission type. See PermissionSchemes.Type for constants.
permissionParam the permission parameter. eg group-name for group based permissions, ID for project roles.

public void removePermission (String permissionType, String permissionParam)

public void removePermission (GlobalPermissionKey permissionType, String permissionParam)