[Freeipa-devel] [PATCH] 088-089 Added attrs to permission when target is group or filter:

Petr Vobornik pvoborni at redhat.com
Wed Feb 22 12:18:26 UTC 2012


(prerequisite) [PATCH] Multiple fields for one attribute:

Current implementation has a limitation to have one field per one 
attribute. This is fine for most cases. For cases where an attribute can 
have two editor widgets which can be swapped a need for two different 
types of field may occur.

This patch introduces 'param' option which supposes to contain attribute 
name. If 'param' is not specified it will contain field's name therefore 
backward compatibility is maintained. This extension allows to have two 
fields with different name and same param -> two fields get/supply value 
from/to the same attribute.

[PATCH] Added attrs to permission when target is group or filter:

Option to set attributes in permission was missing for target 'group' 
and 'filter'.

Attribute_table_widget with type=group is shown for target=group.

For target=filter a multivalued textbox is shown. This is because UI 
can't predict what type will the result of the filter be. In future it 
can be extended by interactive attribute selector to help user find what 
he wants to enter.

Mutlivalued widget was modified to show undo button for new entries even 
if show_undo is false. It is useful in adder dialog to indicate that 
user added something and to enable it reversal.

https://fedorahosted.org/freeipa/ticket/2372

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0088-Multiple-fields-for-one-attribute.patch
Type: text/x-patch
Size: 7208 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120222/44e1930f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0089-Added-attrs-to-permission-when-target-is-group-or-fi.patch
Type: text/x-patch
Size: 11500 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120222/44e1930f/attachment-0001.bin>


More information about the Freeipa-devel mailing list