@Deprecated public class PermissionSchemesBackdoorImpl extends Object implements PermissionSchemes, PermissionSchemes.PermissionScheme
EditPermissionsSinglePage
otherwise, if
you just want to change permissions in a scheme you should use the backdoor.PermissionSchemes.PermissionScheme, PermissionSchemes.Type
Constructor and Description |
---|
PermissionSchemesBackdoorImpl(Backdoor backdoor,
net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addPermission(int permission,
JiraPermissionHolderType type,
String parameter)
Deprecated.
|
void |
addPermission(ProjectPermissionKey permission,
JiraPermissionHolderType type,
String parameter)
Deprecated.
|
void |
addPermission(String permission,
JiraPermissionHolderType type,
String parameter)
Deprecated.
|
PermissionSchemes.PermissionScheme |
defaultScheme()
Deprecated.
Navigates to the Default Permission Scheme.
|
void |
grantPermissionToApplicationRole(ProjectPermissionKey permission,
String applicationRoleId)
Deprecated.
|
void |
grantPermissionToCurrentAssignee(int permission)
Deprecated.
|
void |
grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
Deprecated.
|
void |
grantPermissionToCurrentAssignee(String permission)
Deprecated.
|
void |
grantPermissionToGroup(int permission,
String groupName)
Deprecated.
|
void |
grantPermissionToGroup(ProjectPermissionKey permission,
String groupName)
Deprecated.
|
void |
grantPermissionToGroup(String permission,
String groupName)
Deprecated.
|
void |
grantPermissionToGroupCustomFieldValue(int permission,
String customFieldId)
Deprecated.
|
void |
grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
grantPermissionToGroupCustomFieldValue(String permission,
String customFieldId)
Deprecated.
|
void |
grantPermissionToProjectLead(int permission)
Deprecated.
|
void |
grantPermissionToProjectLead(ProjectPermissionKey permission)
Deprecated.
|
void |
grantPermissionToProjectLead(String permission)
Deprecated.
|
void |
grantPermissionToProjectRole(int permission,
String projectRoleId)
Deprecated.
|
void |
grantPermissionToProjectRole(ProjectPermissionKey permission,
String projectRoleId)
Deprecated.
|
void |
grantPermissionToProjectRole(String permission,
String projectRoleId)
Deprecated.
|
void |
grantPermissionToReporter(int permission)
Deprecated.
|
void |
grantPermissionToReporter(ProjectPermissionKey permission)
Deprecated.
|
void |
grantPermissionToReporter(String permission)
Deprecated.
|
void |
grantPermissionToSingleUser(int permission,
String username)
Deprecated.
|
void |
grantPermissionToSingleUser(ProjectPermissionKey permission,
String username)
Deprecated.
|
void |
grantPermissionToSingleUser(String permission,
String username)
Deprecated.
|
void |
grantPermissionToUserCustomFieldValue(int permission,
String customFieldId)
Deprecated.
|
void |
grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission,
String customFieldId)
Deprecated.
|
void |
grantPermissionToUserCustomFieldValue(String permission,
String customFieldId)
Deprecated.
|
void |
removePermission(GlobalPermissionKey permissionType,
String permissionParam)
Deprecated.
|
void |
removePermission(int permissionType,
String permissionParam)
Deprecated.
Remove the given permission setting.
|
void |
removePermission(ProjectPermissionKey permissionType,
String permissionParam)
Deprecated.
|
void |
removePermission(String permissionType,
String permissionParam)
Deprecated.
|
PermissionSchemes.PermissionScheme |
scheme(String schemeName)
Deprecated.
Navigates to the scheme with the specified name.
|
public PermissionSchemesBackdoorImpl(Backdoor backdoor, net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public PermissionSchemes.PermissionScheme defaultScheme()
PermissionSchemes
defaultScheme
in interface PermissionSchemes
public PermissionSchemes.PermissionScheme scheme(String schemeName)
PermissionSchemes
scheme
in interface PermissionSchemes
schemeName
- the permission scheme name.public void grantPermissionToGroup(int permission, String groupName)
grantPermissionToGroup
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToGroup(String permission, String groupName)
grantPermissionToGroup
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToGroup(ProjectPermissionKey permission, String groupName)
grantPermissionToGroup
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToSingleUser(int permission, String username)
grantPermissionToSingleUser
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToSingleUser(String permission, String username)
grantPermissionToSingleUser
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToSingleUser(ProjectPermissionKey permission, String username)
grantPermissionToSingleUser
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToReporter(int permission)
grantPermissionToReporter
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToReporter(String permission)
grantPermissionToReporter
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToReporter(ProjectPermissionKey permission)
grantPermissionToReporter
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectLead(int permission)
grantPermissionToProjectLead
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectLead(String permission)
grantPermissionToProjectLead
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectLead(ProjectPermissionKey permission)
grantPermissionToProjectLead
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToCurrentAssignee(int permission)
grantPermissionToCurrentAssignee
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToCurrentAssignee(String permission)
grantPermissionToCurrentAssignee
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
grantPermissionToCurrentAssignee
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToUserCustomFieldValue(int permission, String customFieldId)
grantPermissionToUserCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToUserCustomFieldValue(String permission, String customFieldId)
grantPermissionToUserCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
grantPermissionToUserCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToGroupCustomFieldValue(int permission, String customFieldId)
grantPermissionToGroupCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToGroupCustomFieldValue(String permission, String customFieldId)
grantPermissionToGroupCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
grantPermissionToGroupCustomFieldValue
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectRole(int permission, String projectRoleId)
grantPermissionToProjectRole
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectRole(String permission, String projectRoleId)
grantPermissionToProjectRole
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToProjectRole(ProjectPermissionKey permission, String projectRoleId)
grantPermissionToProjectRole
in interface PermissionSchemes.PermissionScheme
public void grantPermissionToApplicationRole(ProjectPermissionKey permission, String applicationRoleId)
grantPermissionToApplicationRole
in interface PermissionSchemes.PermissionScheme
public void removePermission(int permissionType, String permissionParam)
PermissionSchemes.PermissionScheme
removePermission
in interface PermissionSchemes.PermissionScheme
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)
removePermission
in interface PermissionSchemes.PermissionScheme
public void removePermission(ProjectPermissionKey permissionType, String permissionParam)
removePermission
in interface PermissionSchemes.PermissionScheme
public void removePermission(GlobalPermissionKey permissionType, String permissionParam)
removePermission
in interface PermissionSchemes.PermissionScheme
public void addPermission(int permission, JiraPermissionHolderType type, String parameter)
public void addPermission(String permission, JiraPermissionHolderType type, String parameter)
public void addPermission(ProjectPermissionKey permission, JiraPermissionHolderType type, String parameter)
Copyright © 2002-2024 Atlassian. All Rights Reserved.