diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-01-20 15:07:43 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-01-21 13:56:02 -0500 |
commit | 4361cd02422d8a6b30d67bb6869af9c67f7ec9c0 (patch) | |
tree | 706f815f0ae0cbb68649397e0949599d6e035e96 /ipalib/plugins/pwpolicy.py | |
parent | 35f2f1d72078d69ca82b68f4d52bc61f2d297dfc (diff) | |
download | freeipa-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/pwpolicy.py')
-rw-r--r-- | ipalib/plugins/pwpolicy.py | 12 |
1 files changed, 6 insertions, 6 deletions
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) |