[Freeipa-devel] [PATCH] 658 don't allow attrs=None

Jakub Hrozek jhrozek at redhat.com
Mon Jan 10 12:28:24 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/22/2010 04:22 PM, Rob Crittenden wrote:
> Rob Crittenden wrote:
>> Rob Crittenden wrote:
>>> Setting an empty set of target attributes should raise an exception.
>>>
>>> It is possible to create an ACI with attributes and then try to set that
>>> to None via a mod command later. We need to catch this and raise an
>>> exception.
>>>
>>> ticket 647
>>>
>>> rob
>>
>> I'm going to withdraw this patch to work on it some more. There needs to
>> be some mechanism to completely remove attributes from an aci (in
>> ipalib/aci.py).
>>
>> rob
>>
> 
> Updated patch attached. If None is set as the list of attributes then
> the target is dropped.
> 
> Note that no attributes is never legal for a delegation plugin.
> 
> rob
> 

Ack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0q+2gACgkQHsardTLnvCVwJgCdEnX4NPaPavTDM6a8iWRgSIeN
RY8AniXvF6kGLJ7Rj8we4r9CUT8gECHO
=Zvzt
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list