summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-03-13 19:27:39 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:18 +0200
commit46cec2abd85d4dce063689a0259e0772a2c409c3 (patch)
tree7c277c69190aa54c080e88fab395106e74ab5a83 /install
parent34201ea0ab859be6f7103a3b12e0110dec390dcb (diff)
downloadfreeipa-46cec2abd85d4dce063689a0259e0772a2c409c3.tar.gz
freeipa-46cec2abd85d4dce063689a0259e0772a2c409c3.tar.xz
freeipa-46cec2abd85d4dce063689a0259e0772a2c409c3.zip
Fix selection of menu in automember
https://fedorahosted.org/freeipa/ticket/3236
Diffstat (limited to 'install')
-rw-r--r--install/ui/src/freeipa/navigation/menu_spec.js39
1 files changed, 32 insertions, 7 deletions
diff --git a/install/ui/src/freeipa/navigation/menu_spec.js b/install/ui/src/freeipa/navigation/menu_spec.js
index 06e49597f..f128f9863 100644
--- a/install/ui/src/freeipa/navigation/menu_spec.js
+++ b/install/ui/src/freeipa/navigation/menu_spec.js
@@ -69,13 +69,38 @@ var nav = {};
{entity: 'pwpolicy'},
{entity: 'krbtpolicy'},
{entity: 'selinuxusermap'},
- {name: 'automember', label: '@i18n:tabs.automember',
- children: [
- { name: 'amgroup', entity: 'automember',
- facet: 'searchgroup', label: '@i18n:objects.automember.usergrouprules'},
- { name: 'amhostgroup', entity: 'automember',
- facet: 'searchhostgroup', label: '@i18n:objects.automember.hostgrouprules'}
- ]}
+ {
+ name: 'automember',
+ label: '@i18n:tabs.automember',
+ children: [
+ {
+ name: 'amgroup',
+ entity: 'automember',
+ facet: 'searchgroup',
+ label: '@i18n:objects.automember.usergrouprules',
+ children: [
+ {
+ entity: 'automember',
+ facet: 'usergrouprule',
+ hidden: true
+ }
+ ]
+ },
+ {
+ name: 'amhostgroup',
+ entity: 'automember',
+ facet: 'searchhostgroup',
+ label: '@i18n:objects.automember.hostgrouprules',
+ children: [
+ {
+ entity: 'automember',
+ facet: 'hostgrouprule',
+ hidden: true
+ }
+ ]
+ }
+ ]
+ }
]},
{name: 'ipaserver', label: '@i18n:tabs.ipaserver', children: [
{name: 'rolebased', label: '@i18n:tabs.role', children: [