[Freeipa-devel] [PATCH] 005 Show error in serial association

Petr Vobornik pvoborni at redhat.com
Wed Aug 17 15:38:56 UTC 2011


Ticket #1628 - https://fedorahosted.org/freeipa/ticket/1628
Unreported insufficient access error

This patch is dependant on 
freeipa-pvoborni-0004-1-error-dialog-for-batch-command.patch.

This may be only a checking if approach of this patch is good.

I was not sure if this type of error message (result.failed property) is 
more general or it only appears in adding members. So I put error 
handling in serial_associator instead of command. If it would be put in 
command and success will be transformed to error, it will change the 
behaviour of executing commands - other commands after error won't be 
executed. If the approach is good, it could be probably better to change 
it a little and offer same logic for batch_associator.

It should be working for adding users to groups, netgroups, roles and 
assigning hbac rules (tested as non admin user).


Modified association test - data in success handler should not be undefined.

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0005-Show-error-in-serial-association.patch
Type: text/x-patch
Size: 6877 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110817/9c30bec7/attachment.bin>


More information about the Freeipa-devel mailing list