[useradmin] Port edit group page to Hue 4
@@ -281,6 +281,7 @@ ${ hueIcons.symbols() }
<div id="embeddable_useradmin_users" class="embeddable"></div>
<div id="embeddable_useradmin_groups" class="embeddable"></div>
<div id="embeddable_useradmin_newgroup" class="embeddable"></div>
+ <div id="embeddable_useradmin_editgroup" class="embeddable"></div>
<div id="embeddable_useradmin_permissions" class="embeddable"></div>
<div id="embeddable_useradmin_configurations" class="embeddable"></div>
<div id="embeddable_useradmin_newuser" class="embeddable"></div>
@@ -486,6 +487,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
useradmin_users: '/useradmin/users',
useradmin_groups: '/useradmin/groups',
useradmin_newgroup: '/useradmin/groups/new',
+ useradmin_editgroup: '/useradmin/groups/edit/:group',
useradmin_permissions: '/useradmin/permissions',
useradmin_configurations: '/useradmin/configurations',
useradmin_newuser: '/useradmin/users/new',
@@ -503,7 +505,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
sqoop: '/sqoop',
};
- var SKIP_CACHE = ['home', 'oozie_workflow', 'oozie_coordinator', 'oozie_bundle', 'dashboard', 'filebrowser', 'useradmin_users', 'useradmin_groups', 'useradmin_newgroup', 'useradmin_permissions', 'useradmin_configurations', 'useradmin_newuser', 'useradmin_addldap', 'useradmin_edituser'];
+ var SKIP_CACHE = ['home', 'oozie_workflow', 'oozie_coordinator', 'oozie_bundle', 'dashboard', 'filebrowser', 'useradmin_users', 'useradmin_groups', 'useradmin_newgroup', 'useradmin_editgroup', 'useradmin_permissions', 'useradmin_configurations', 'useradmin_newuser', 'useradmin_addldap', 'useradmin_edituser'];
var OnePageViewModel = function () {
var self = this;
@@ -819,6 +821,7 @@ ${ smart_unicode(login_modal(request).content) | n,unicode }
{ url: '/useradmin/configurations/', app: 'useradmin_configurations' },
{ url: '/useradmin/groups/', app: 'useradmin_groups' },
{ url: '/useradmin/groups/new', app: 'useradmin_newgroup' },
+ { url: '/useradmin/groups/edit/:group', app: 'useradmin_editgroup' },
{ url: '/useradmin/permissions/', app: 'useradmin_permissions' },
{ url: '/useradmin/users/', app: 'useradmin_users' },
{ url: '/useradmin/users/add_ldap_users', app: 'useradmin_addldap' },
