summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/internal.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-01-20 15:07:43 -0500
committerRob Crittenden <rcritten@redhat.com>2011-01-21 13:56:02 -0500
commit4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 (patch)
tree706f815f0ae0cbb68649397e0949599d6e035e96 /ipalib/plugins/internal.py
parent35f2f1d72078d69ca82b68f4d52bc61f2d297dfc (diff)
downloadfreeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.gz
freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.tar.xz
freeipa-4361cd02422d8a6b30d67bb6869af9c67f7ec9c0.zip
Rename INTERNAL to NO_CLI for commands we hide from the cli.
Also make i18n_messages and json_metadata NO_CLI. ticket 821
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r--ipalib/plugins/internal.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 89b2b4dd1..215131f07 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -35,7 +35,7 @@ class json_metadata(Command):
"""
Export plugin meta-data for the webUI.
"""
- INTERNAL = False
+ NO_CLI = True
takes_args = (
@@ -74,6 +74,8 @@ class json_metadata(Command):
api.register(json_metadata)
class i18n_messages(Command):
+ NO_CLI = True
+
messages={
"login": {"header" :_("Logged In As")},
"button":{