From 6f3c8c7447e9a71c580ef9307395cd5dcd314915 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Thu, 23 Feb 2017 12:24:08 -0500 Subject: [PATCH] This template inherited field never worked apparently, but nobody noticed. This correctly sets the is_admin flag here. --- lib/galaxy/webapps/galaxy/controllers/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/galaxy/webapps/galaxy/controllers/user.py b/lib/galaxy/webapps/galaxy/controllers/user.py index ed34ef8093b..93013886660 100644 --- a/lib/galaxy/webapps/galaxy/controllers/user.py +++ b/lib/galaxy/webapps/galaxy/controllers/user.py @@ -1372,6 +1372,7 @@ class User( BaseUIController, UsesFormDefinitionsMixin, CreatesUsersMixin, Creat cntrller=cntrller, user=user, email=email, + is_admin=True, username=username, user_type_fd_id_select_field=user_type_fd_id_select_field, user_info_forms=user_info_forms,