public class TestIssueSecurityWithGroupsAndRoles extends BaseJiraFuncTest
assertions, backdoor, environmentData, initClass, navigation, tester, testRule
Constructor and Description |
---|
TestIssueSecurityWithGroupsAndRoles() |
Modifier and Type | Method and Description |
---|---|
void |
testAddingAndRemovingGroupRolesFromProjectFlushesIssueSecurityCache()
Check if group is added or removed from a role, the issue security level cache is flushed
|
void |
testAddingAndRemovingSecurityLevelFlushesCache() |
void |
testAddingAndRemovingSecuritySchemeFromProject()
Check that if the associated security scheme of a project is unassociated, that the security levels are no longer
visible visible
|
void |
testAddingAndRemovingUserFromGroupFlushesSecurityCache() |
void |
testAddingAndRemovingUserFromRolesFlushesIssueSecurityCache()
Check if user is added or removed from a role, the issue security level cache is flushed
|
void |
testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel1()
Check that newly created projects have default roles setup by checking admin can see the security level and users
can only see None
|
void |
testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel2()
same as
testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel1() but instead of associating the
security scheme with the project after its created, we do it during the creation |
void |
testRemovingGroupFlushesIssueSecurityCache()
Check if a group is removed from jira, the issue security level cache is flushed
|
void |
testRemovingRoleFlushesIssueSecurityCache()
Check if a role is removed from jira, the issue security level cache is flushed
|
void |
testRenamingSecuritySchemeFlushesCache()
Check updating the security scheme does not affect the security level options.
|
void |
testSwappingSecuritySchemeFlushesCache()
Swap the security scheme with a new scheme and check that the security levels are updated
|
getAssertions, getBackdoor, getEnvironmentData, getTester
public void testAddingAndRemovingUserFromGroupFlushesSecurityCache()
public void testAddingAndRemovingUserFromRolesFlushesIssueSecurityCache()
public void testAddingAndRemovingGroupRolesFromProjectFlushesIssueSecurityCache()
public void testRemovingRoleFlushesIssueSecurityCache()
public void testRemovingGroupFlushesIssueSecurityCache()
public void testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel1()
public void testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel2()
testNewProjectsWithDefaultRolesHaveCorrectSecurityLevel1()
but instead of associating the
security scheme with the project after its created, we do it during the creationpublic void testRenamingSecuritySchemeFlushesCache()
public void testAddingAndRemovingSecuritySchemeFromProject()
public void testSwappingSecuritySchemeFlushesCache()
public void testAddingAndRemovingSecurityLevelFlushesCache()
Copyright © 2002-2017 Atlassian. All Rights Reserved.