mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Revert "Hide topology and domainlevel features"
This reverts commit 62e8002bc4.
Hiding of the topology and domainlevel features was necessary
for the 4.2 branch only.
Reviewed-By: Simo Sorce <ssorce@redhat.com>
This commit is contained in:
@@ -50,8 +50,7 @@ define([
|
|||||||
'./service',
|
'./service',
|
||||||
'./sudo',
|
'./sudo',
|
||||||
'./trust',
|
'./trust',
|
||||||
// Hide topology for now
|
'./topology',
|
||||||
// './topology',
|
|
||||||
'./user',
|
'./user',
|
||||||
'./stageuser',
|
'./stageuser',
|
||||||
'dojo/domReady!'
|
'dojo/domReady!'
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ var nav = {};
|
|||||||
{ entity: 'trustconfig' }
|
{ entity: 'trustconfig' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
/* {
|
{
|
||||||
entity: 'topologysuffix',
|
entity: 'topologysuffix',
|
||||||
label: '@i18n:tabs.topology',
|
label: '@i18n:tabs.topology',
|
||||||
facet: 'search',
|
facet: 'search',
|
||||||
@@ -226,7 +226,7 @@ var nav = {};
|
|||||||
hidden: true
|
hidden: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},*/
|
},
|
||||||
{
|
{
|
||||||
name: 'apibrowser',
|
name: 'apibrowser',
|
||||||
label: 'API browser',
|
label: 'API browser',
|
||||||
|
|||||||
@@ -238,4 +238,4 @@ IPA_ANCHOR_PREFIX = ':IPA:'
|
|||||||
SID_ANCHOR_PREFIX = ':SID:'
|
SID_ANCHOR_PREFIX = ':SID:'
|
||||||
|
|
||||||
MIN_DOMAIN_LEVEL = 0
|
MIN_DOMAIN_LEVEL = 0
|
||||||
MAX_DOMAIN_LEVEL = 0
|
MAX_DOMAIN_LEVEL = 1
|
||||||
|
|||||||
@@ -74,7 +74,6 @@ def get_master_entries(ldap, api):
|
|||||||
@register()
|
@register()
|
||||||
class domainlevel_get(Command):
|
class domainlevel_get(Command):
|
||||||
__doc__ = _('Query current Domain Level.')
|
__doc__ = _('Query current Domain Level.')
|
||||||
NO_CLI = True
|
|
||||||
|
|
||||||
has_output = domainlevel_output
|
has_output = domainlevel_output
|
||||||
|
|
||||||
@@ -91,7 +90,6 @@ class domainlevel_get(Command):
|
|||||||
@register()
|
@register()
|
||||||
class domainlevel_set(Command):
|
class domainlevel_set(Command):
|
||||||
__doc__ = _('Change current Domain Level.')
|
__doc__ = _('Change current Domain Level.')
|
||||||
NO_CLI = True
|
|
||||||
|
|
||||||
has_output = domainlevel_output
|
has_output = domainlevel_output
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ class topologysegment(LDAPObject):
|
|||||||
"""
|
"""
|
||||||
Topology segment.
|
Topology segment.
|
||||||
"""
|
"""
|
||||||
NO_CLI = True
|
|
||||||
parent_object = 'topologysuffix'
|
parent_object = 'topologysuffix'
|
||||||
container_dn = api.env.container_topology
|
container_dn = api.env.container_topology
|
||||||
object_name = _('segment')
|
object_name = _('segment')
|
||||||
@@ -196,7 +195,6 @@ class topologysegment(LDAPObject):
|
|||||||
class topologysegment_find(LDAPSearch):
|
class topologysegment_find(LDAPSearch):
|
||||||
__doc__ = _('Search for topology segments.')
|
__doc__ = _('Search for topology segments.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
msg_summary = ngettext(
|
msg_summary = ngettext(
|
||||||
'%(count)d segment matched',
|
'%(count)d segment matched',
|
||||||
'%(count)d segments matched', 0
|
'%(count)d segments matched', 0
|
||||||
@@ -207,7 +205,6 @@ class topologysegment_find(LDAPSearch):
|
|||||||
class topologysegment_add(LDAPCreate):
|
class topologysegment_add(LDAPCreate):
|
||||||
__doc__ = _('Add a new segment.')
|
__doc__ = _('Add a new segment.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
msg_summary = _('Added segment "%(value)s"')
|
msg_summary = _('Added segment "%(value)s"')
|
||||||
|
|
||||||
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
||||||
@@ -221,7 +218,6 @@ class topologysegment_add(LDAPCreate):
|
|||||||
class topologysegment_del(LDAPDelete):
|
class topologysegment_del(LDAPDelete):
|
||||||
__doc__ = _('Delete a segment.')
|
__doc__ = _('Delete a segment.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
msg_summary = _('Deleted segment "%(value)s"')
|
msg_summary = _('Deleted segment "%(value)s"')
|
||||||
|
|
||||||
def pre_callback(self, ldap, dn, *keys, **options):
|
def pre_callback(self, ldap, dn, *keys, **options):
|
||||||
@@ -234,7 +230,6 @@ class topologysegment_del(LDAPDelete):
|
|||||||
class topologysegment_mod(LDAPUpdate):
|
class topologysegment_mod(LDAPUpdate):
|
||||||
__doc__ = _('Modify a segment.')
|
__doc__ = _('Modify a segment.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
msg_summary = _('Modified segment "%(value)s"')
|
msg_summary = _('Modified segment "%(value)s"')
|
||||||
|
|
||||||
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
def pre_callback(self, ldap, dn, entry_attrs, attrs_list, *keys, **options):
|
||||||
@@ -249,7 +244,6 @@ class topologysegment_reinitialize(LDAPQuery):
|
|||||||
__doc__ = _('Request a full re-initialization of the node '
|
__doc__ = _('Request a full re-initialization of the node '
|
||||||
'retrieving data from the other node.')
|
'retrieving data from the other node.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
has_output = output.standard_value
|
has_output = output.standard_value
|
||||||
msg_summary = _('%(value)s')
|
msg_summary = _('%(value)s')
|
||||||
|
|
||||||
@@ -321,7 +315,6 @@ class topologysegment_reinitialize(LDAPQuery):
|
|||||||
@register()
|
@register()
|
||||||
class topologysegment_show(LDAPRetrieve):
|
class topologysegment_show(LDAPRetrieve):
|
||||||
__doc__ = _('Display a segment.')
|
__doc__ = _('Display a segment.')
|
||||||
NO_CLI = True
|
|
||||||
|
|
||||||
|
|
||||||
@register()
|
@register()
|
||||||
@@ -329,7 +322,6 @@ class topologysuffix(LDAPObject):
|
|||||||
"""
|
"""
|
||||||
Suffix managed by the topology plugin.
|
Suffix managed by the topology plugin.
|
||||||
"""
|
"""
|
||||||
NO_CLI = True
|
|
||||||
container_dn = api.env.container_topology
|
container_dn = api.env.container_topology
|
||||||
object_name = _('suffix')
|
object_name = _('suffix')
|
||||||
object_name_plural = _('suffices')
|
object_name_plural = _('suffices')
|
||||||
@@ -360,7 +352,6 @@ class topologysuffix(LDAPObject):
|
|||||||
class topologysuffix_find(LDAPSearch):
|
class topologysuffix_find(LDAPSearch):
|
||||||
__doc__ = _('Search for topology suffices.')
|
__doc__ = _('Search for topology suffices.')
|
||||||
|
|
||||||
NO_CLI = True
|
|
||||||
msg_summary = ngettext(
|
msg_summary = ngettext(
|
||||||
'%(count)d topology suffix matched',
|
'%(count)d topology suffix matched',
|
||||||
'%(count)d topology suffices matched', 0
|
'%(count)d topology suffices matched', 0
|
||||||
@@ -412,7 +403,6 @@ class topologysuffix_mod(LDAPUpdate):
|
|||||||
@register()
|
@register()
|
||||||
class topologysuffix_show(LDAPRetrieve):
|
class topologysuffix_show(LDAPRetrieve):
|
||||||
__doc__ = _('Show managed suffix.')
|
__doc__ = _('Show managed suffix.')
|
||||||
NO_CLI = True
|
|
||||||
|
|
||||||
|
|
||||||
@register()
|
@register()
|
||||||
@@ -426,7 +416,6 @@ Checks done:
|
|||||||
2. check if servers don't have more than the recommended number of
|
2. check if servers don't have more than the recommended number of
|
||||||
replication agreements
|
replication agreements
|
||||||
''')
|
''')
|
||||||
NO_CLI = True
|
|
||||||
|
|
||||||
def execute(self, *keys, **options):
|
def execute(self, *keys, **options):
|
||||||
|
|
||||||
|
|||||||
@@ -243,8 +243,7 @@ class DsInstance(service.Service):
|
|||||||
self.step("configuring DNS plugin", self.__config_dns_module)
|
self.step("configuring DNS plugin", self.__config_dns_module)
|
||||||
self.step("enabling entryUSN plugin", self.__enable_entryusn)
|
self.step("enabling entryUSN plugin", self.__enable_entryusn)
|
||||||
self.step("configuring lockout plugin", self.__config_lockout_module)
|
self.step("configuring lockout plugin", self.__config_lockout_module)
|
||||||
# For now, do not configure topology plugin
|
self.step("configuring topology plugin", self.__config_topology_module)
|
||||||
#self.step("configuring topology plugin", self.__config_topology_module)
|
|
||||||
self.step("creating indices", self.__create_indices)
|
self.step("creating indices", self.__create_indices)
|
||||||
self.step("enabling referential integrity plugin", self.__add_referint_module)
|
self.step("enabling referential integrity plugin", self.__add_referint_module)
|
||||||
if enable_ssl:
|
if enable_ssl:
|
||||||
|
|||||||
Reference in New Issue
Block a user