From 04a98505a4ab8f48aee22800fcac193d9367d0ae Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 29 Nov 2013 11:05:51 -0500 Subject: [PATCH] Refactor user services and separate authentication (issue-281) --- src/main/java/com/gitblit/wicket/panels/TeamsPanel.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/panels/TeamsPanel.java b/src/main/java/com/gitblit/wicket/panels/TeamsPanel.java index 79ddd02..c1e1a43 100644 --- a/src/main/java/com/gitblit/wicket/panels/TeamsPanel.java +++ b/src/main/java/com/gitblit/wicket/panels/TeamsPanel.java @@ -39,7 +39,7 @@ Fragment adminLinks = new Fragment("adminPanel", "adminLinks", this); adminLinks.add(new BookmarkablePageLink<Void>("newTeam", EditTeamPage.class)); - add(adminLinks.setVisible(showAdmin && app().users().supportsTeamMembershipChanges(null))); + add(adminLinks.setVisible(showAdmin)); final List<TeamModel> teams = app().users().getAllTeams(); DataView<TeamModel> teamsView = new DataView<TeamModel>("teamRow", -- Gitblit v1.9.1