summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-16 14:40:09 -0500
committerAdam Young <ayoung@redhat.com>2011-05-16 21:05:49 -0400
commita7f9814ab702cfa42988e47e80f44b57a195ad1e (patch)
tree6ea1bb746d3a28cb39906f11b744cc26293a2363 /install/ui/hbac.js
parentf9a8d772e35982bed1c39b286b3120b9b5f64c0c (diff)
downloadfreeipa-a7f9814ab702cfa42988e47e80f44b57a195ad1e.tar.gz
freeipa-a7f9814ab702cfa42988e47e80f44b57a195ad1e.tar.xz
freeipa-a7f9814ab702cfa42988e47e80f44b57a195ad1e.zip
Read-only association facet.
The IPA.association_facet has been modified to take a read_only parameters. If the parameter is set to true, the Enroll and Delete buttons will not be shown. All facets under the memberindirect and memberofindirect facet groups are marked as read-only. Ticket #1030
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index a7e36282c..2b5e66545 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -29,9 +29,8 @@ IPA.entity_factories.hbacrule = function () {
columns:['cn','usercategory','hostcategory','ipaenabledflag',
'servicecategory','sourcehostcategory']
}).
- facet({
- factory: IPA.hbacrule_details_facet,
- 'name': 'details'
+ details_facet({
+ factory: IPA.hbacrule_details_facet
}).
adder_dialog({
fields:[