[Freeipa-devel] [PATCH] 0058 Prevent deletion of the last admin

Petr Viktorin pviktori at redhat.com
Wed Jun 6 12:51:56 UTC 2012


On 06/05/2012 11:43 PM, Rob Crittenden wrote:
> Petr Viktorin wrote:
>> Raise an error when trying to delete the last user from the 'admins'
>> group
>>
>> The 'admin' group name seems like something that shouldn't be hardcoded,
>> but that's how it's done in the webui and some of our ACIs, and I don't
>> see another solution short of adding a new attribute.
>>
>>
>> https://fedorahosted.org/freeipa/ticket/2564
>>
>
> This looks ok, I think it should go further and prevent the last member
> to be removed from the admins group too.
>
> rob

This updated patch prevents that, plus removing the admins group itself.


-- 
Petr³
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0058-02-Prevent-deletion-of-the-last-admin.patch
Type: text/x-patch
Size: 8900 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120606/b0ad389d/attachment.bin>


More information about the Freeipa-devel mailing list