diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-04-12 17:38:09 +0200 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2013-04-12 14:07:55 -0400 |
commit | b8b573a966f4be268031ccca5abce09767928ff7 (patch) | |
tree | 8f0e2b55e7ff18c4ba4274153fbc3ac8d80e42f1 /ipalib/__init__.py | |
parent | d03255571c9d4c81d92c692fd0b6db6539856cf8 (diff) | |
download | freeipa-b8b573a966f4be268031ccca5abce09767928ff7.tar.gz freeipa-b8b573a966f4be268031ccca5abce09767928ff7.tar.xz freeipa-b8b573a966f4be268031ccca5abce09767928ff7.zip |
Deprecate HBAC source hosts from CLI
Hide the commands and options listed below from the CLI,
but keep them in the API. When called directly from the API,
raise appropriate exceptions informing the user that the
functionality has been deprecated.
Affected commands: hbacrule_add_sourcehost, hbacrule_remove_sourcehost.
Affected options: sourcehostcategory, sourcehost_host and
sourcehost_hostgroup (hbacrule); sourcehost (hbactest).
https://fedorahosted.org/freeipa/ticket/3528
Diffstat (limited to 'ipalib/__init__.py')
-rw-r--r-- | ipalib/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/__init__.py b/ipalib/__init__.py index aab74008..57f78472 100644 --- a/ipalib/__init__.py +++ b/ipalib/__init__.py @@ -885,7 +885,7 @@ from backend import Backend from frontend import Command, LocalOrRemote, Updater from frontend import Object, Method, Property from crud import Create, Retrieve, Update, Delete, Search -from parameters import DefaultFrom, Bool, Flag, Int, Decimal, Bytes, Str, IA5Str, Password, DNParam +from parameters import DefaultFrom, Bool, Flag, Int, Decimal, Bytes, Str, IA5Str, Password, DNParam, DeprecatedParam from parameters import BytesEnum, StrEnum, AccessTime, File from errors import SkipPluginModule from text import _, ngettext, GettextFactory, NGettextFactory |