public class TestUserPropertyResource extends BaseJiraFuncTest
Modifier and Type | Field and Description |
---|---|
protected UserPropertyClient |
propertyClient |
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestUserPropertyResource() |
getAssertions, getBackdoor, getEnvironmentData, getTester
protected UserPropertyClient propertyClient
public void setUp()
public void propertyCanBeSetAndRead()
public void propertyCanBeRetrievedByUsernameAndByKeyAfterUsernameWasChanged()
public void nonAdminUserIsNotAllowedToModifyOtherUsersProperties()
public void regularAdminCanAccessAndModifyOtherUsersProperties()
public void nonAdminUserCanAccessAndEditTheirOwnProperties()
public void notFoundResponseIsReturnedForNonExistingUsersWhenWeAreAdmin()
public void regularAdminIsNotAllowedToEditSystemAdminsProperties()
public void nonAdminUserIsNotAllowedToAccessOtherUsersProperties()
public void regularAdminIsNotAllowedToReadSystemAdminsProperties()
public void anonymousUserIsNotAllowedToAccessAnyProperties()
public void propertiesAreClearedAfterUserIsDeleted()
public void notFoundIsReturnedWhenAccessingNonExistentProperty()
protected final void assertCanAccessAndEditPropertiesOf(String username)
protected final void createUserWithPermission(String username, GlobalPermissionKey permission)
protected final JSONObject value(int value)
Copyright © 2002-2021 Atlassian. All Rights Reserved.