Reordered facets in ACI

Facets in ACI have new order:
* Roles: members, privileges, settings
* Privileges: permissions, settings, roles
* Permissions: settings, privileges

https://fedorahosted.org/freeipa/ticket/2104
This commit is contained in:
Petr Vobornik
2011-12-09 16:37:32 +01:00
committed by Endi S. Dewata
parent 34e357e713
commit 91dc7c3d9a

View File

@@ -32,7 +32,7 @@ IPA.aci.permission_entity = function(spec) {
that.init = function() { that.init = function() {
that.entity_init(); that.entity_init();
that.builder.facet_groups([ 'privilege' , 'settings' ]). that.builder.facet_groups(['settings', 'privilege']).
search_facet({ search_facet({
columns: [ 'cn' ] columns: [ 'cn' ]
}). }).
@@ -207,7 +207,7 @@ IPA.aci.privilege_entity = function(spec) {
that.init = function() { that.init = function() {
that.entity_init(); that.entity_init();
that.builder.facet_groups([ 'role', 'settings', 'permission' ]). that.builder.facet_groups(['permission', 'settings', 'role']).
search_facet({ search_facet({
columns: [ columns: [
'cn', 'cn',
@@ -264,7 +264,7 @@ IPA.aci.role_entity = function(spec) {
that.init = function() { that.init = function() {
that.entity_init(); that.entity_init();
that.builder.facet_groups([ 'member', 'settings', 'privilege' ]). that.builder.facet_groups(['member', 'privilege', 'settings']).
search_facet({ search_facet({
columns: [ columns: [
'cn', 'cn',