freeipa/ipalib/plugins
Petr Viktorin 1235dfa7bf Fail on unknown Command options
When unknown keyword arguments are passed to a Command, raise an
error instead of ignoring them.

Options used when IPA calls its commands internally are listed
in a new Command attribute called internal_options, and allowed.

Previous patches (0b01751c, c45174d6, c5689e7f) made IPA not use
unknown keyword arguments in its own commands and tests, but since
that some violations were reintroduced in permission_find and tests.
Fix those.

Tests included; both a frontend unittest and a XML-RPC test via the
ping plugin (which was untested previously).

https://fedorahosted.org/freeipa/ticket/2509
2012-06-20 15:18:42 +02:00
..
__init__.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
aci.py Fail on unknown Command options 2012-06-20 15:18:42 +02:00
automember.py Confusing default user groups 2012-04-08 16:48:54 -04:00
automount.py Fail on unknown Command options 2012-06-20 15:18:42 +02:00
baseldap.py Rework the CallbackInterface 2012-06-14 11:09:43 +02:00
batch.py Test the batch plugin 2012-04-03 16:19:59 -04:00
cert.py Make revocation_reason required when revoking a certificate. 2012-04-05 08:51:30 +02:00
config.py Add support for disabling KDC writes 2012-06-06 22:12:22 -04:00
delegation.py Switch --group and --membergroup in example for delegation 2012-02-06 14:13:33 +01:00
dns.py Fix dnszone-mod --forwader option help string 2012-06-05 10:46:42 +02:00
entitle.py Enforce sizelimit in permission-find, post_callback returns truncated 2012-05-30 08:46:21 +02:00
group.py Prevent deletion of the last admin 2012-06-06 21:57:12 -04:00
hbacrule.py Disallow setattr on no_update/no_create params 2012-05-29 09:23:26 +02:00
hbacsvc.py ticket 1669 - improve i18n docstring extraction 2011-08-24 23:13:16 -04:00
hbacsvcgroup.py ticket 1669 - improve i18n docstring extraction 2011-08-24 23:13:16 -04:00
hbactest.py Fix name error in hbactest 2012-04-19 15:22:49 +02:00
host.py Enforce sizelimit in permission-find, post_callback returns truncated 2012-05-30 08:46:21 +02:00
hostgroup.py Enforce sizelimit in permission-find, post_callback returns truncated 2012-05-30 08:46:21 +02:00
internal.py Added missing i18n in action list and action panel 2012-06-04 10:45:08 +02:00
kerberos.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
krbtpolicy.py ticket 1669 - improve i18n docstring extraction 2011-08-24 23:13:16 -04:00
migration.py Improve migration NotFound error 2012-06-05 08:51:30 +02:00
misc.py ticket 1669 - improve i18n docstring extraction 2011-08-24 23:13:16 -04:00
netgroup.py Validate externalhost (when added by --addattr/--setattr) 2012-05-11 08:14:20 +02:00
passwd.py Change parameters to use only default_from for dynamic default values. 2012-03-28 14:04:31 +02:00
permission.py Fail on unknown Command options 2012-06-20 15:18:42 +02:00
ping.py Document the ping plugin. 2012-01-12 05:46:09 -05:00
pkinit.py ticket 1669 - improve i18n docstring extraction 2011-08-24 23:13:16 -04:00
privilege.py Removal of memberofindirect_permissons from privileges 2012-04-09 22:12:39 -04:00
pwpolicy.py Enforce sizelimit in permission-find, post_callback returns truncated 2012-05-30 08:46:21 +02:00
role.py Only apply validation rules when adding and updating. 2012-02-29 18:00:45 -05:00
selfservice.py Do not use extra command options in ACI, permission, selfservice 2012-05-14 10:38:07 +02:00
selinuxusermap.py Enforce sizelimit in permission-find, post_callback returns truncated 2012-05-30 08:46:21 +02:00
service.py Perform case-insensitive searches for principals on TGS requests 2012-06-07 09:39:10 +02:00
sudocmd.py Fix sudo help and summaries 2011-08-29 21:26:23 -04:00
sudocmdgroup.py Fix sudo help and summaries 2011-08-29 21:26:23 -04:00
sudorule.py Disallow setattr on no_update/no_create params 2012-05-29 09:23:26 +02:00
trust.py Add trust management for Active Directory trusts 2012-06-07 09:39:09 +02:00
user.py Prevent deletion of the last admin 2012-06-06 21:57:12 -04:00
virtual.py Add default success/failure output logging. 2011-02-14 10:23:52 -05:00
xmlclient.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00