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

Petr Vobornik pvoborni at redhat.com
Fri May 25 14:57:47 UTC 2012


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.

-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0148-Removal-of-illegal-options-in-JSON-RPC-calls.patch
Type: text/x-patch
Size: 7012 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120525/4091990a/attachment.bin>


More information about the Freeipa-devel mailing list