[Freeipa-devel] [PATCH] 0261-entity-link-for-password-policy

Adam Young ayoung at redhat.com
Fri Jul 1 18:08:08 UTC 2011


On 06/30/2011 08:46 PM, Endi Sukma Dewata wrote:
> On 6/30/2011 4:42 PM, Adam Young wrote:
>>
>
> Some issues:
>
> 1. Suppose initially you open an entry that contains a value that 
> matches no_link_value, it will hide the link and show the label. Then 
> suppose you open another entry that has no value, it will empty the 
> link but leaving the label from the previous entry visible.
>
> This is not a problem for password policy because cn will always have 
> a value, but it might be better to change the else-clause in reset() 
> to hide both the link and the label:
>
>   that.link.css('display','none');
>   that.label.css('display','none');
>
> 2. Optional: The no_link_value seems to be limited to a single value 
> only. While it works fine for password policy, I suppose in other 
> cases we might want to match multiple values or use some other logic. 
> One solution is to put the logic that checks the value inside a method 
> that can be overriden by the subclass.
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-admiyo-0261-1-entity-link-for-password-policy.patch
Type: text/x-patch
Size: 3613 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110701/57a5f9a2/attachment.bin>


More information about the Freeipa-devel mailing list