spec update test
This commit is contained in:
parent
e73565aa71
commit
5fb350847c
@ -47,6 +47,7 @@ public class PlanSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private PlanPermissions createPlanPermission(PlanIdentifier planIdentifier) {
|
private PlanPermissions createPlanPermission(PlanIdentifier planIdentifier) {
|
||||||
|
|
||||||
Permissions permission = new Permissions()
|
Permissions permission = new Permissions()
|
||||||
.userPermissions("atlbamboo", PermissionType.EDIT, PermissionType.VIEW, PermissionType.ADMIN, PermissionType.CLONE, PermissionType.BUILD)
|
.userPermissions("atlbamboo", PermissionType.EDIT, PermissionType.VIEW, PermissionType.ADMIN, PermissionType.CLONE, PermissionType.BUILD)
|
||||||
.groupPermissions("red-backend", PermissionType.EDIT, PermissionType.VIEW, PermissionType.CLONE, PermissionType.BUILD)
|
.groupPermissions("red-backend", PermissionType.EDIT, PermissionType.VIEW, PermissionType.CLONE, PermissionType.BUILD)
|
||||||
@ -56,6 +57,7 @@ public class PlanSpec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private Project project() {
|
private Project project() {
|
||||||
|
|
||||||
return new Project()
|
return new Project()
|
||||||
.name("RED")
|
.name("RED")
|
||||||
.key(new BambooKey("RED"));
|
.key(new BambooKey("RED"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user