From a7f9814ab702cfa42988e47e80f44b57a195ad1e Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 16 May 2011 14:40:09 -0500 Subject: 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 --- install/ui/hbac.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'install/ui/hbac.js') 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:[ -- cgit