summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/domainlevel.py
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2015-07-07 09:36:32 +0200
committerTomas Babej <tbabej@redhat.com>2015-07-08 00:09:09 +0200
commit62e8002bc43ddd890c3db35a123cb7daf35e3121 (patch)
treefc494dfa37912aaff911f825e4ea702ecd3e3fcb /ipalib/plugins/domainlevel.py
parent25d1afdc54284c6bcf1caf08beae2e66ceb7f4e8 (diff)
downloadfreeipa-62e8002bc43ddd890c3db35a123cb7daf35e3121.tar.gz
freeipa-62e8002bc43ddd890c3db35a123cb7daf35e3121.tar.xz
freeipa-62e8002bc43ddd890c3db35a123cb7daf35e3121.zip
Hide topology and domainlevel features
* Hide topology and domainlevel commands in the CLI * Hide topology and domainlevel in the WebUI * Set maximum allowed domain level to 0 * Do not configure and enable the topology plugin https://fedorahosted.org/freeipa/ticket/5097 Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib/plugins/domainlevel.py')
-rw-r--r--ipalib/plugins/domainlevel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/domainlevel.py b/ipalib/plugins/domainlevel.py
index 64e383006..9012a3203 100644
--- a/ipalib/plugins/domainlevel.py
+++ b/ipalib/plugins/domainlevel.py
@@ -74,6 +74,7 @@ def get_master_entries(ldap, api):
@register()
class domainlevel_get(Command):
__doc__ = _('Query current Domain Level.')
+ NO_CLI = True
has_output = domainlevel_output
@@ -90,6 +91,7 @@ class domainlevel_get(Command):
@register()
class domainlevel_set(Command):
__doc__ = _('Change current Domain Level.')
+ NO_CLI = True
has_output = domainlevel_output