Class PermissionSchemesBackdoorImpl
java.lang.Object
com.atlassian.jira.functest.framework.admin.PermissionSchemesBackdoorImpl
- All Implemented Interfaces:
PermissionSchemes
,PermissionSchemes.PermissionScheme
@Deprecated
public class PermissionSchemesBackdoorImpl
extends Object
implements PermissionSchemes, PermissionSchemes.PermissionScheme
Deprecated.
This class was added to replace PermissionSchemesImpl to stop plugins/tests outside of JIRA who were using it from
failing. E.g. JIRA-REST-JAVA-Client. If you actually want to test the Project Permissions page, you should write
tests using a webdriver test with
EditPermissionsSinglePage
otherwise, if
you just want to change permissions in a scheme you should use the backdoor.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.PermissionSchemes
PermissionSchemes.PermissionScheme, PermissionSchemes.Type
-
Constructor Summary
ConstructorsConstructorDescriptionPermissionSchemesBackdoorImpl
(Backdoor backdoor, net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.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
(int permissionType, String permissionParam) Deprecated.Remove the given permission setting.void
removePermission
(GlobalPermissionKey permissionType, String permissionParam) Deprecated.void
removePermission
(ProjectPermissionKey permissionType, String permissionParam) Deprecated.void
removePermission
(String permissionType, String permissionParam) Deprecated.Deprecated.Navigates to the scheme with the specified name.
-
Constructor Details
-
PermissionSchemesBackdoorImpl
public PermissionSchemesBackdoorImpl(Backdoor backdoor, net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData) Deprecated.
-
-
Method Details
-
defaultScheme
Deprecated.Description copied from interface:PermissionSchemes
Navigates to the Default Permission Scheme.- Specified by:
defaultScheme
in interfacePermissionSchemes
- Returns:
- the Default Permission Scheme to operate on.
-
scheme
Deprecated.Description copied from interface:PermissionSchemes
Navigates to the scheme with the specified name.- Specified by:
scheme
in interfacePermissionSchemes
- Parameters:
schemeName
- the permission scheme name.- Returns:
- the Permission Scheme with the given name.
-
grantPermissionToGroup
Deprecated.- Specified by:
grantPermissionToGroup
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToGroup
Deprecated.- Specified by:
grantPermissionToGroup
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToGroup
Deprecated.- Specified by:
grantPermissionToGroup
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToSingleUser
Deprecated.- Specified by:
grantPermissionToSingleUser
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToSingleUser
Deprecated.- Specified by:
grantPermissionToSingleUser
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToSingleUser
Deprecated.- Specified by:
grantPermissionToSingleUser
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToReporter
public void grantPermissionToReporter(int permission) Deprecated.- Specified by:
grantPermissionToReporter
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToReporter
Deprecated.- Specified by:
grantPermissionToReporter
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToReporter
Deprecated.- Specified by:
grantPermissionToReporter
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectLead
public void grantPermissionToProjectLead(int permission) Deprecated.- Specified by:
grantPermissionToProjectLead
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectLead
Deprecated.- Specified by:
grantPermissionToProjectLead
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectLead
Deprecated.- Specified by:
grantPermissionToProjectLead
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToCurrentAssignee
public void grantPermissionToCurrentAssignee(int permission) Deprecated.- Specified by:
grantPermissionToCurrentAssignee
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToCurrentAssignee
Deprecated.- Specified by:
grantPermissionToCurrentAssignee
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToCurrentAssignee
Deprecated.- Specified by:
grantPermissionToCurrentAssignee
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToUserCustomFieldValue
Deprecated.- Specified by:
grantPermissionToUserCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToUserCustomFieldValue
Deprecated.- Specified by:
grantPermissionToUserCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToUserCustomFieldValue
public void grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission, String customFieldId) Deprecated.- Specified by:
grantPermissionToUserCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToGroupCustomFieldValue
Deprecated.- Specified by:
grantPermissionToGroupCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToGroupCustomFieldValue
Deprecated.- Specified by:
grantPermissionToGroupCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToGroupCustomFieldValue
public void grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission, String customFieldId) Deprecated.- Specified by:
grantPermissionToGroupCustomFieldValue
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectRole
Deprecated.- Specified by:
grantPermissionToProjectRole
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectRole
Deprecated.- Specified by:
grantPermissionToProjectRole
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToProjectRole
Deprecated.- Specified by:
grantPermissionToProjectRole
in interfacePermissionSchemes.PermissionScheme
-
grantPermissionToApplicationRole
public void grantPermissionToApplicationRole(ProjectPermissionKey permission, String applicationRoleId) Deprecated.- Specified by:
grantPermissionToApplicationRole
in interfacePermissionSchemes.PermissionScheme
-
removePermission
Deprecated.Description copied from interface:PermissionSchemes.PermissionScheme
Remove the given permission setting.- Specified by:
removePermission
in interfacePermissionSchemes.PermissionScheme
- Parameters:
permissionType
- the permission type. SeePermissionSchemes.Type
for constants.permissionParam
- the permission parameter. eg group-name for group based permissions, ID for project roles.
-
removePermission
Deprecated.- Specified by:
removePermission
in interfacePermissionSchemes.PermissionScheme
-
removePermission
Deprecated.- Specified by:
removePermission
in interfacePermissionSchemes.PermissionScheme
-
removePermission
Deprecated.- Specified by:
removePermission
in interfacePermissionSchemes.PermissionScheme
-
addPermission
Deprecated. -
addPermission
Deprecated. -
addPermission
public void addPermission(ProjectPermissionKey permission, JiraPermissionHolderType type, String parameter) Deprecated.
-
Backdoor.permissionSchemes()