freeipa/ipalib
Rob Crittenden 3a5e26a01c Enforce class rules when query=True, continue to not run validators.
This started as a problem in allowing leading/trailing whitespaces
on primary keys. In nearly every command other than add query is True
so all rules were ignored on the primary key. This meant that to
enforce whitespace we would need to define a validator for each one.

I decided instead to set self.all_rules to just the class rules if
query == True. So the minimum set of validators will be executed
against each type but param-specific validators will only run on add.

https://fedorahosted.org/freeipa/ticket/1285
https://fedorahosted.org/freeipa/ticket/1286
https://fedorahosted.org/freeipa/ticket/1287
2011-07-11 18:43:32 -04:00
..
plugins Enforce class rules when query=True, continue to not run validators. 2011-07-11 18:43:32 -04:00
__init__.py Fix translatable strings in ipalib plugins. 2011-03-01 10:31:40 -05:00
aci.py Fix uninitialized attributes. 2011-04-21 10:41:29 +02:00
backend.py Fix lint false positives. 2011-04-13 15:58:45 +02:00
base.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
cli.py Improve interactive mode for DNS plugin 2011-06-02 09:00:35 +02:00
compat.py Fix lint false positives. 2011-04-13 15:58:45 +02:00
config.py Let the framework be able to override the hostname. 2011-06-23 02:11:34 -04:00
constants.py Let the framework be able to override the hostname. 2011-06-23 02:11:34 -04:00
crud.py Add flags to enforce asking for object attribute 2011-01-26 09:29:39 -05:00
dn.py Module for DN objects plus unit test 2011-06-22 01:05:44 -04:00
encoder.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
errors.py Raise DuplicateEntry Error when adding a duplicate sudo option 2011-06-16 19:21:07 -04:00
frontend.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
output.py Display the entries that failed when deleting with --continue. 2011-01-10 10:32:10 -05:00
parameters.py Enforce class rules when query=True, continue to not run validators. 2011-07-11 18:43:32 -04:00
pkcs10.py Fix assorted bugs found by pylint 2011-01-25 14:01:36 -05:00
plugable.py Slight performance improvement by not doing some checking in production mode 2011-06-23 23:45:10 -04:00
request.py Remove deprecated i18n code from ipalib/request and all references to it. 2011-03-01 10:31:36 -05:00
rpc.py Test for forwarded Kerberos credentials cache in wsgi code. 2011-05-18 09:35:04 +02:00
text.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
util.py Make data type of certificates more obvious/predictable internally. 2011-06-21 19:09:50 -04:00
x509.py Make data type of certificates more obvious/predictable internally. 2011-06-21 19:09:50 -04:00