com.atlassian.jira.functest.framework.backdoor
Class PermissionControlExt

java.lang.Object
  extended by com.atlassian.jira.testkit.client.RestApiClient<T>
      extended by com.atlassian.jira.testkit.client.BackdoorControl<T>
          extended by com.atlassian.jira.functest.framework.backdoor.BackdoorControl<PermissionControlExt>
              extended by com.atlassian.jira.functest.framework.backdoor.PermissionControlExt

public class PermissionControlExt
extends BackdoorControl<PermissionControlExt>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.BackdoorControl
com.atlassian.jira.testkit.client.BackdoorControl.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.BackdoorControl.JsonMediaTypeFilter
 
Nested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.Method
 
Field Summary
 
Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl
API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath
 
Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient
REST_VERSION
 
Constructor Summary
PermissionControlExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
           
 
Method Summary
 void addAnyoneGlobalPermissionByKey(String permissionType)
           
 void addGlobalPermissionByKey(String permissionType, String group)
           
 List<String> getGlobalPermissionGroupsByKey(String permissionType)
           
 String getPermissionsByKey(String permissionType)
           
 void removeAnyoneGlobalPermissionByKey(String permissionType)
           
 void removeGlobalPermissionByKey(String permissionType, String group)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource
 
Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl
createResourceForPath, createResourceForPath, get, getRestModulePath
 
Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient
anonymous, createResourceGadget, createResourceInternal, errorResponse, expanded, loginAs, loginAs, percentEncode, resourceRoot, setOf, toResponse, toResponse, toResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionControlExt

public PermissionControlExt(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
Method Detail

addGlobalPermissionByKey

public void addGlobalPermissionByKey(String permissionType,
                                     String group)

getPermissionsByKey

public String getPermissionsByKey(String permissionType)

addAnyoneGlobalPermissionByKey

public void addAnyoneGlobalPermissionByKey(String permissionType)

removeGlobalPermissionByKey

public void removeGlobalPermissionByKey(String permissionType,
                                        String group)

removeAnyoneGlobalPermissionByKey

public void removeAnyoneGlobalPermissionByKey(String permissionType)

getGlobalPermissionGroupsByKey

public List<String> getGlobalPermissionGroupsByKey(String permissionType)


Copyright © 2002-2014 Atlassian. All Rights Reserved.