ftrivino / freeipa

Forked from freeipa 5 years ago
Clone

c34b1a3 Multiple fields for one attribute

5 files Authored by pvoborni 12 years ago, Committed by pvoborni 12 years ago,
    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.
    
    Needed for:
    
    https://fedorahosted.org/freeipa/ticket/2372
    
        
file modified
+3 -3
file modified
+9 -7
file modified
+6 -5
file modified
+2 -2
file modified
+1 -1