From 80546886e3d3a1a8904654738e3f8e0e821b460e Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 29 May 2014 10:44:13 -0400 Subject: [PATCH] Remove team permission exclusion from Ticket responsible user selection --- src/main/java/com/gitblit/wicket/pages/EditTicketPage.java | 2 +- src/main/java/com/gitblit/wicket/pages/TicketPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/EditTicketPage.java b/src/main/java/com/gitblit/wicket/pages/EditTicketPage.java index fd5fc607..4a06e59e 100644 --- a/src/main/java/com/gitblit/wicket/pages/EditTicketPage.java +++ b/src/main/java/com/gitblit/wicket/pages/EditTicketPage.java @@ -171,7 +171,7 @@ public class EditTicketPage extends RepositoryPage { } else { // authorization is by NAMED users (users with PUSH permission can be set responsible) for (RegistrantAccessPermission rp : app().repositories().getUserAccessPermissions(getRepositoryModel())) { - if (rp.permission.atLeast(AccessPermission.PUSH) && !rp.isTeam()) { + if (rp.permission.atLeast(AccessPermission.PUSH)) { userlist.add(rp.registrant); } } diff --git a/src/main/java/com/gitblit/wicket/pages/TicketPage.java b/src/main/java/com/gitblit/wicket/pages/TicketPage.java index 5d51ad18..e7b47498 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketPage.java +++ b/src/main/java/com/gitblit/wicket/pages/TicketPage.java @@ -389,7 +389,7 @@ public class TicketPage extends TicketBasePage { } else { // authorization is by NAMED users (users with PUSH permission can be set responsible) for (RegistrantAccessPermission rp : app().repositories().getUserAccessPermissions(getRepositoryModel())) { - if (rp.permission.atLeast(AccessPermission.PUSH) && !rp.isTeam()) { + if (rp.permission.atLeast(AccessPermission.PUSH)) { userlist.add(rp.registrant); } } -- 2.39.5