[Freeipa-devel] [PATCH] HBAC Services
Endi Sukma Dewata
edewata at redhat.com
Wed Nov 10 23:20:04 UTC 2010
Hi,
Please review the attached patch. Thanks!
https://fedorahosted.org/reviewboard/r/104/
The HBAC Service search and details pages have been added under the HBAC
tab. This requires some changes to the framework.
Currently the navigation framework doesn't support multiple entities
under one tab. As a temporary solution, an 'entity' URL parameter is
used to determine the entity to be displayed. This parameter is now only
used by HBAC tab, but its use might be expanded later. The navigation
framework needs be redesigned to provide more flexibility.
The search page in all entities except DNS records have been changed to
use the ipa_search_widget. The Select/Unselect All checbox and Delete
button now work correctly and consistently.
The Add dialog has been enhanced to render and work in a more consistent
way while still supporting custom widgets & layouts. For the search
page, the Add button will refresh the search results and clear the
fields in the dialog box.
The framework now provides some extension points which can be overriden
by the subclasses:
- init(): for initialization and configuration
- create(): for creating the layout dynamically or from template
- setup(): for setting the look and feel
- load(): for loading the data
Entity and facet initialization is now done after IPA.init(). This is to
ensure the metadata is loaded first so the entities and facets can use
localized messages/labels/titles.
The group entity has been partially converted to use the new framework.
The unit tests have been updated accordingly.
--
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-edewata-0028-HBAC-Services.patch
Type: text/x-patch
Size: 113609 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101110/8006ab01/attachment.bin>
More information about the Freeipa-devel
mailing list