From 4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 20 Jan 2011 15:07:43 -0500 Subject: Rename INTERNAL to NO_CLI for commands we hide from the cli. Also make i18n_messages and json_metadata NO_CLI. ticket 821 --- ipalib/plugins/pwpolicy.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ipalib/plugins/pwpolicy.py') diff --git a/ipalib/plugins/pwpolicy.py b/ipalib/plugins/pwpolicy.py index f009a0c96..caf918c7a 100644 --- a/ipalib/plugins/pwpolicy.py +++ b/ipalib/plugins/pwpolicy.py @@ -70,7 +70,7 @@ class cosentry(LDAPObject): """ Class of Service object used for linking policies with groups """ - INTERNAL = True + NO_CLI = True container_dn = 'cn=costemplates,%s' % api.env.container_accounts object_class = ['top', 'costemplate', 'extensibleobject', 'krbcontainer'] @@ -113,7 +113,7 @@ api.register(cosentry) class cosentry_add(LDAPCreate): - INTERNAL = True + NO_CLI = True def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): # check for existence of the group @@ -129,13 +129,13 @@ api.register(cosentry_add) class cosentry_del(LDAPDelete): - INTERNAL = True + NO_CLI = True api.register(cosentry_del) class cosentry_mod(LDAPUpdate): - INTERNAL = True + NO_CLI = True def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options): self.obj.check_priority_uniqueness(*keys, **options) @@ -145,13 +145,13 @@ api.register(cosentry_mod) class cosentry_show(LDAPRetrieve): - INTERNAL = True + NO_CLI = True api.register(cosentry_show) class cosentry_find(LDAPSearch): - INTERNAL = True + NO_CLI = True api.register(cosentry_find) -- cgit