freeipa/ipalib
Martin Kosek ac6cc479ed Add range safety check for range_mod and range_del
range_mod and range_del command could easily create objects with
ID which is suddenly out of specified range. This could cause issues
in trust scenarios where range objects are used for computation of
remote IDs.

Add validator for both commands to check if there is any object with
ID in the range which would become out-of-range as a pre_callback.
Also add unit tests testing this new validator.

https://fedorahosted.org/freeipa/ticket/2919
2012-09-06 20:32:07 +02:00
..
plugins Add range safety check for range_mod and range_del 2012-09-06 20:32:07 +02:00
__init__.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
aci.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
backend.py Add CLI parsing tests 2012-03-28 15:25:33 +02:00
base.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
cli.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
config.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
constants.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
crud.py Enforce that required attributes can't be set to None in CRUD Update 2012-03-12 17:16:14 +01:00
errors.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
frontend.py Improve output validation 2012-06-25 22:04:14 -04:00
krb_utils.py Fix ticket checks when using either s4u2proxy or a delegated krbtgt 2012-03-01 00:56:01 -05:00
output.py Typo fixes 2012-06-25 21:35:11 -04:00
parameters.py Transfer long numbers over XMLRPC 2012-09-06 14:57:07 +02:00
pkcs10.py Fix assorted bugs found by pylint 2011-01-25 14:01:36 -05:00
plugable.py Disallow setattr on no_update/no_create params 2012-05-29 09:23:26 +02: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 Transfer long numbers over XMLRPC 2012-09-06 14:57:07 +02:00
session.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
text.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
util.py Fixed metadata serialization of Numbers and DNs 2012-09-06 10:27:10 +02:00
x509.py Internationalization for public errors 2012-09-03 18:16:12 +02:00