mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 08:41:55 -06:00
topology: hide topologysuffix-add del mod commands
Suffices are created on installation/upgrade. Users should not modify them. https://fedorahosted.org/freeipa/ticket/4302 Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
parent
4232c39f67
commit
2661a860e0
@ -355,6 +355,8 @@ class topologysuffix_find(LDAPSearch):
|
||||
class topologysuffix_del(LDAPDelete):
|
||||
__doc__ = _('Delete a topology suffix.')
|
||||
|
||||
NO_CLI = True
|
||||
|
||||
msg_summary = _('Deleted topology suffix "%(value)s"')
|
||||
|
||||
def pre_callback(self, ldap, dn, *keys, **options):
|
||||
@ -367,6 +369,8 @@ class topologysuffix_del(LDAPDelete):
|
||||
class topologysuffix_add(LDAPCreate):
|
||||
__doc__ = _('Add a new topology suffix to be managed.')
|
||||
|
||||
NO_CLI = True
|
||||
|
||||
msg_summary = _('Added topology suffix "%(value)s"')
|
||||
|
||||
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
||||
@ -379,6 +383,8 @@ class topologysuffix_add(LDAPCreate):
|
||||
class topologysuffix_mod(LDAPUpdate):
|
||||
__doc__ = _('Modify a topology suffix.')
|
||||
|
||||
NO_CLI = True
|
||||
|
||||
msg_summary = _('Modified topology suffix "%(value)s"')
|
||||
|
||||
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
||||
|
Loading…
Reference in New Issue
Block a user