diff options
author | David Svantesson <davidsvantesson@gmail.com> | 2019-09-30 01:20:27 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-09-30 02:20:27 +0300 |
commit | 9c2a58456a698eae8a289de67685d4e3e270aaf9 (patch) | |
tree | d3d494f25fe5b636d14af9a3f07327fb265ae53c /routers/org | |
parent | cf170bf529268431e87c2d83a155ee9c6c3c727a (diff) | |
download | gitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.tar.gz gitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.zip |
Fix repo_admin_change_team_access always checked in org settings (#8319)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
Diffstat (limited to 'routers/org')
-rw-r--r-- | routers/org/setting.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/org/setting.go b/routers/org/setting.go index 7de784c5b8..0aeefb50af 100644 --- a/routers/org/setting.go +++ b/routers/org/setting.go @@ -31,6 +31,7 @@ func Settings(ctx *context.Context) { ctx.Data["Title"] = ctx.Tr("org.settings") ctx.Data["PageIsSettingsOptions"] = true ctx.Data["CurrentVisibility"] = ctx.Org.Organization.Visibility + ctx.Data["RepoAdminChangeTeamAccess"] = ctx.Org.Organization.RepoAdminChangeTeamAccess ctx.HTML(200, tplSettingsOptions) } |