public class TestFilterPermissionResource extends BaseJiraRestTest
backdoor, environmentData, initClass, initData
Constructor and Description |
---|
TestFilterPermissionResource() |
getEnvironmentData
public void getAllPermissionsReturnsUnauthorizedForAnonymous()
public void getAllPermissionsForPrivateFilterFfDisabledReturnsNotFound()
public void getAllPermissionsForPrivateFilter()
public void noPermissionsReturnsEmptyList()
public void addGroupPermissionWorksAndResultsInPermissionBeingAdded()
public void addGlobalPermissionWorksAndResultsInPermissionBeingAdded()
public void addGlobalPermissionOverwritesPreviousPermissions()
public void addGlobalPermissionForPrivateFilterFfDisabledReturnsNotFound()
public void addGlobalPermissionForPrivateFilter()
public void addProjectPermissionWorksAndResultsInPermissionBeingAdded()
public void addProjectRolePermissionWorksAndResultsInPermissionBeingAdded()
public void addUserPermissionWorksAndResultsInPermissionBeingAdded()
public void getSinglePermissionWorks()
public void getSinglePermissionReturnsUnauthorizedForAnonymous()
public void getPermissionsReturns404ForNonExistingFilter()
public void getPermissionReturns404ForNonExistingFilter()
public void putPermissionReturns404ForNonExistingFilter()
public void deletePermissionReturns404ForNonExistingFilter()
public void getPermissionReturns404ForNonExistingPermission()
public void deletePermissionWorksAndResultsInPermissionBeingAdded()
public void cannotShareFilterWithoutShareObjectsGlobalPermission()
public void canShareFilterWithGroupWhenHasAdminPermissionsAndFeatureFlagIsEnabled()
public void cannotShareFilterWithGroupWhenHasAdminPermissionsAndFeatureFlagIsDisabled()
public void canShareIfNotMemberOfTheGroupAndFFIsEnabled()
public void canShareIfNotMemberOfTheGroupAndFFIsEnabledAndIsNotAdmin()
public void canShareIfNotMemberOfTheGroupAndFFIsEnabledAndIsNotOwner()
public void canShareFilterWithProjectRoleWhenHasAdminPermissionsAndFeatureFlagIsEnabled()
public void cannotShareFilterWithProjectRoleWhenHasAdminPermissionsAndFeatureFlagIsDisabled()
public void canShareFilterWithProjectRoleIfIsNotAMemberOfProjectRole()
public void cannotShareFilterWithProjectIfIsNotAMemberOfProjectAndFeatureFlagIsDisabled()
public void canShareFilterWithProjectIfIsNotAMemberOfProject()
public void invalidAddPermissionBeanResultsIn400()
Copyright © 2002-2022 Atlassian. All Rights Reserved.