[Freeipa-devel] [PATCH] 148 Removal of illegal options in JSON-RPC calls

Petr Vobornik pvoborni at redhat.com
Fri May 25 16:04:50 UTC 2012


On 05/25/2012 04:57 PM, Petr Vobornik wrote:
> Ticket https://fedorahosted.org/freeipa/ticket/2509 bans using non
> existent options. If such option is supplied command ends with error. It
> uncovered several cases in Web UI. This patch is fixing these cases.
>
> Automember, Self-service and Delegation don't support 'pkey-only',
> 'size-limit' and 'rights' option. Pagination and rights check were
> disabled for them.
>
> Automount map adder dialog was sending options for indirect map even if
> chosen type was direct (when those for indirect was filled earlier),
> also it was sending non-existant 'method' option.
>
> https://fedorahosted.org/freeipa/ticket/2760
>
> Note for reviewing: #2509 is partially done in Petr Viktorin's patch
> #35. At this time it has a small issue regarding
> automountmap_add_indirect command.
>

I found more used non existing options in association adder dialog code: 
in hbac hbacsvcgroup_find: no_hbacsvc. I will investigate these cases 
more deeply.

-- 
Petr Vobornik




More information about the Freeipa-devel mailing list