diff options
author | James Moger <james.moger@gitblit.com> | 2014-05-29 10:44:13 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-05-29 10:44:13 -0400 |
commit | 80546886e3d3a1a8904654738e3f8e0e821b460e (patch) | |
tree | 95f8deaab5a5590b881252d864f197d4df921749 /src/main/java | |
parent | ddb1ebb9b00987773ce60511a82c39b98caf9b70 (diff) | |
download | gitblit-80546886e3d3a1a8904654738e3f8e0e821b460e.tar.gz gitblit-80546886e3d3a1a8904654738e3f8e0e821b460e.zip |
Remove team permission exclusion from Ticket responsible user selection
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/EditTicketPage.java | 2 | ||||
-rw-r--r-- | 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);
}
}
|