[Freeipa-devel] [PATCH] 459 Allow edit of ipakrbokasdelegate in Web UI when attrlevelrights are unknown

Ana Krivokapic akrivoka at redhat.com
Wed Sep 25 16:15:57 UTC 2013


On 09/25/2013 05:44 PM, Petr Vobornik wrote:
> On 09/25/2013 02:17 PM, Ana Krivokapic wrote:
>> On 09/24/2013 04:31 PM, Petr Vobornik wrote:
>>> Old host entries are missing object class with krbticketflags attribute.
>>> Therefore UI does not receive attrlevelrights for it. This OC is added when
>>> ipakrbokasdelegate(krbticketflags) is set.
>>>
>>> This patch adds the usual hack for such cases.
>>>
>>> https://fedorahosted.org/freeipa/ticket/3940
>>
>> The patch works well. Could you please also add a regression test?
>>
>
> Test modified. Sadly, the test doesn't cover old entries after server upgrade,
> which are the reason for the UI hack.

ACK!

(There's an unused variable (pkey) at the start of the test_kerberos_flags()
method - you may just remove it before pushing.)

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.




More information about the Freeipa-devel mailing list