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

Petr Vobornik pvoborni at redhat.com
Thu Aug 18 08:28:23 UTC 2011


On 08/17/2011 05:38 PM, Petr Vobornik wrote:
> 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.
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Modified to work with bulk association.

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0005-Show-error-in-adding-associations.patch
Type: text/x-patch
Size: 8031 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110818/e92278d2/attachment.bin>


More information about the Freeipa-devel mailing list