summaryrefslogtreecommitdiffstats
path: root/install/ui/aci.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-05 10:15:53 -0500
committerAdam Young <ayoung@redhat.com>2011-08-08 12:00:07 -0400
commitd08dcb40e1db63d4b40d911bb15a656f0dcbf8ae (patch)
treed14e09a7acc96ba50bfd339fa0947c7dcad049d2 /install/ui/aci.js
parent8519967ef139d607b9ec4d9e4d3ff087fe14b3f1 (diff)
downloadfreeipa-d08dcb40e1db63d4b40d911bb15a656f0dcbf8ae.tar.gz
freeipa-d08dcb40e1db63d4b40d911bb15a656f0dcbf8ae.tar.xz
freeipa-d08dcb40e1db63d4b40d911bb15a656f0dcbf8ae.zip
Fixed facet group labels.
The facet group labels have been modified according to UXD spec. Some facet groups will have more descriptive labels. Some others will not have any labels because the facet tab is self-explanatory. Ticket #1423, #1561
Diffstat (limited to 'install/ui/aci.js')
-rw-r--r--install/ui/aci.js11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index 9c1188afb..112bff233 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -27,6 +27,7 @@ IPA.entity_factories.permission = function() {
return IPA.entity_builder().
entity('permission').
+ facet_groups([ 'privilege' , 'settings' ]).
search_facet({
columns:['cn']
}).
@@ -48,7 +49,10 @@ IPA.entity_factories.permission = function() {
factory:IPA.target_section,
label: IPA.messages.objects.permission.target
}]}).
- standard_association_facets().
+ association_facet({
+ name: 'member_privilege',
+ facet_group: 'privilege'
+ }).
adder_dialog({
width: 500,
height: 400,
@@ -73,6 +77,7 @@ IPA.entity_factories.permission = function() {
IPA.entity_factories.privilege = function() {
return IPA.entity_builder().
entity('privilege').
+ facet_groups([ 'role', 'settings', 'permission' ]).
search_facet({
columns:['cn','description']}).
details_facet({
@@ -84,12 +89,14 @@ IPA.entity_factories.privilege = function() {
}]}).
association_facet({
name: 'member_role',
+ facet_group: 'role',
add_method: 'add_privilege',
remove_method: 'remove_privilege',
associator: IPA.serial_associator
}).
association_facet({
name: 'memberof_permission',
+ facet_group: 'permission',
add_method: 'add_permission',
remove_method: 'remove_permission'
}).
@@ -105,6 +112,7 @@ IPA.entity_factories.privilege = function() {
IPA.entity_factories.role = function() {
return IPA.entity_builder().
entity('role').
+ facet_groups([ 'member', 'settings', 'privilege' ]).
search_facet({
columns:['cn','description']}).
details_facet({sections:[
@@ -114,6 +122,7 @@ IPA.entity_factories.role = function() {
fields:['cn','description']}]}).
association_facet({
name: 'memberof_privilege',
+ facet_group: 'privilege',
add_method: 'add_privilege',
remove_method: 'remove_privilege'
}).