PlanSpec.java edited online with Bitbucket
This commit is contained in:
parent
3c942aba15
commit
f458a1f930
@ -51,7 +51,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("gin4", PermissionType.EDIT, PermissionType.VIEW, PermissionType.CLONE, PermissionType.BUILD)
|
.groupPermissions("red-backend", PermissionType.EDIT, PermissionType.VIEW, PermissionType.CLONE, PermissionType.BUILD)
|
||||||
.loggedInUserPermissions(PermissionType.VIEW)
|
.loggedInUserPermissions(PermissionType.VIEW)
|
||||||
.anonymousUserPermissionView();
|
.anonymousUserPermissionView();
|
||||||
return new PlanPermissions(planIdentifier.getProjectKey(), planIdentifier.getPlanKey()).permissions(permission);
|
return new PlanPermissions(planIdentifier.getProjectKey(), planIdentifier.getPlanKey()).permissions(permission);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user