From 377e1267b75e75fe0f5c7c557e1a9cce6b9fa160 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 23 Aug 2012 14:17:34 +0200 Subject: Rename range CLI to idrange --- install/ui/Makefile.am | 2 +- install/ui/idrange.js | 162 ++++++++++++++++++++++++++ install/ui/index.html | 2 +- install/ui/jsl.conf | 2 +- install/ui/range.js | 162 -------------------------- install/ui/test/data/idrange_add.json | 34 ++++++ install/ui/test/data/idrange_find.json | 32 +++++ install/ui/test/data/idrange_find_pkeys.json | 17 +++ install/ui/test/data/idrange_get_records.json | 40 +++++++ install/ui/test/data/idrange_mod.json | 43 +++++++ install/ui/test/data/idrange_show.json | 44 +++++++ install/ui/test/data/ipa_init.json | 2 +- install/ui/test/data/ipa_init_commands.json | 12 +- install/ui/test/data/ipa_init_objects.json | 4 +- install/ui/test/data/range_add.json | 34 ------ install/ui/test/data/range_find.json | 32 ----- install/ui/test/data/range_find_pkeys.json | 17 --- install/ui/test/data/range_get_records.json | 40 ------- install/ui/test/data/range_mod.json | 43 ------- install/ui/test/data/range_show.json | 44 ------- install/ui/webui.js | 2 +- 21 files changed, 385 insertions(+), 385 deletions(-) create mode 100644 install/ui/idrange.js delete mode 100644 install/ui/range.js create mode 100644 install/ui/test/data/idrange_add.json create mode 100644 install/ui/test/data/idrange_find.json create mode 100644 install/ui/test/data/idrange_find_pkeys.json create mode 100644 install/ui/test/data/idrange_get_records.json create mode 100644 install/ui/test/data/idrange_mod.json create mode 100644 install/ui/test/data/idrange_show.json delete mode 100644 install/ui/test/data/range_add.json delete mode 100644 install/ui/test/data/range_find.json delete mode 100644 install/ui/test/data/range_find_pkeys.json delete mode 100644 install/ui/test/data/range_get_records.json delete mode 100644 install/ui/test/data/range_mod.json delete mode 100644 install/ui/test/data/range_show.json (limited to 'install') diff --git a/install/ui/Makefile.am b/install/ui/Makefile.am index 841e210e..1dc32160 100644 --- a/install/ui/Makefile.am +++ b/install/ui/Makefile.am @@ -54,7 +54,7 @@ app_DATA = \ overpass_regular-web.ttf \ overpass_regular-web.woff \ policy.js \ - range.js \ + idrange.js \ reset_password.js \ reset_password.html \ rule.js \ diff --git a/install/ui/idrange.js b/install/ui/idrange.js new file mode 100644 index 00000000..b2ce3169 --- /dev/null +++ b/install/ui/idrange.js @@ -0,0 +1,162 @@ +/*jsl:import ipa.js */ + +/* Authors: + * Petr Vobornik + * + * Copyright (C) 2010 Red Hat + * see file 'COPYING' for use and warranty information + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +/* REQUIRES: ipa.js, details.js, search.js, add.js, facet.js, entity.js */ + +IPA.idrange = {}; + +IPA.idrange.entity = function(spec) { + + var that = IPA.entity(spec); + + that.init = function() { + that.entity_init(); + + that.builder.search_facet({ + columns: [ + 'cn', + 'ipabaseid', + 'ipaidrangesize', + 'iparangetype' + ] + }). + details_facet({ + sections: [ + { + name: 'details', + fields: [ + 'cn', + 'iparangetype', + { + name: 'ipabaseid', + label: IPA.messages.objects.idrange.ipabaseid, + tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label + }, + { + name: 'ipaidrangesize', + label: IPA.messages.objects.idrange.ipaidrangesize, + tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label + }, + { + name: 'ipabaserid', + label: IPA.messages.objects.idrange.ipabaserid, + tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label + }, + { + name: 'ipasecondarybaserid', + label: IPA.messages.objects.idrange.ipasecondarybaserid, + tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label + }, + { + name: 'ipanttrusteddomainsid', + label: IPA.messages.objects.idrange.ipanttrusteddomainsid, + tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label + } + ] + } + ] + }). + adder_dialog({ + fields: [ + { + name: 'cn', + widget: 'idrange.cn' + }, + { + name: 'ipabaseid', + label: IPA.messages.objects.idrange.ipabaseid, + tooltip: IPA.get_entity_param('idrange', 'ipabaseid').label, + widget: 'idrange.ipabaseid' + }, + { + name: 'ipaidrangesize', + label: IPA.messages.objects.idrange.ipaidrangesize, + tooltip: IPA.get_entity_param('idrange', 'ipaidrangesize').label, + widget: 'idrange.ipaidrangesize' + }, + { + name: 'ipabaserid', + label: IPA.messages.objects.idrange.ipabaserid, + tooltip: IPA.get_entity_param('idrange', 'ipabaserid').label, + widget: 'idrange.ipabaserid' + }, + { + name: 'ipasecondarybaserid', + label: IPA.messages.objects.idrange.ipasecondarybaserid, + tooltip: IPA.get_entity_param('idrange', 'ipasecondarybaserid').label, + widget: 'type.ipasecondarybaserid' + }, + { + name: 'ipanttrusteddomainsid', + label: IPA.messages.objects.idrange.ipanttrusteddomainsid, + tooltip: IPA.get_entity_param('idrange', 'ipanttrusteddomainsid').label, + widget: 'type.ipanttrusteddomainsid' + } + ], + widgets: [ + { + type: 'details_table_section_nc', + name: 'idrange', + widgets: [ + 'cn', + 'ipabaseid', + 'ipaidrangesize', + 'ipabaserid' + ] + }, + { + type: 'multiple_choice_section', + name: 'type', + label: IPA.messages.objects.idrange.type, + choices: [ + { + name: 'local', + label: IPA.messages.objects.idrange.type_local, + fields: ['ipasecondarybaserid'], + required: ['ipasecondarybaserid'], + enabled: true + }, + { + name: 'ad', + label: IPA.messages.objects.idrange.type_ad, + fields: ['ipanttrusteddomainsid'], + required: ['ipanttrusteddomainsid'] + } + ], + widgets: [ + 'ipasecondarybaserid', + 'ipanttrusteddomainsid' + ] + } + ], + policies: [ + IPA.multiple_choice_section_policy({ + widget: 'type' + }) + ] + }); + }; + + return that; +}; + +IPA.register('idrange', IPA.idrange.entity); diff --git a/install/ui/index.html b/install/ui/index.html index ab51b6d5..ba86a521 100644 --- a/install/ui/index.html +++ b/install/ui/index.html @@ -53,7 +53,7 @@ - + diff --git a/install/ui/jsl.conf b/install/ui/jsl.conf index 5faeed93..935566d4 100644 --- a/install/ui/jsl.conf +++ b/install/ui/jsl.conf @@ -157,7 +157,7 @@ +process dns.js +process automount.js +process automember.js -+process range.js ++process idrange.js +process trust.js +process webui.js +process login.js diff --git a/install/ui/range.js b/install/ui/range.js deleted file mode 100644 index ea9b47c9..00000000 --- a/install/ui/range.js +++ /dev/null @@ -1,162 +0,0 @@ -/*jsl:import ipa.js */ - -/* Authors: - * Petr Vobornik - * - * Copyright (C) 2010 Red Hat - * see file 'COPYING' for use and warranty information - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -/* REQUIRES: ipa.js, details.js, search.js, add.js, facet.js, entity.js */ - -IPA.range = {}; - -IPA.range.entity = function(spec) { - - var that = IPA.entity(spec); - - that.init = function() { - that.entity_init(); - - that.builder.search_facet({ - columns: [ - 'cn', - 'ipabaseid', - 'ipaidrangesize', - 'iparangetype' - ] - }). - details_facet({ - sections: [ - { - name: 'details', - fields: [ - 'cn', - 'iparangetype', - { - name: 'ipabaseid', - label: IPA.messages.objects.range.ipabaseid, - tooltip: IPA.get_entity_param('range', 'ipabaseid').label - }, - { - name: 'ipaidrangesize', - label: IPA.messages.objects.range.ipaidrangesize, - tooltip: IPA.get_entity_param('range', 'ipaidrangesize').label - }, - { - name: 'ipabaserid', - label: IPA.messages.objects.range.ipabaserid, - tooltip: IPA.get_entity_param('range', 'ipabaserid').label - }, - { - name: 'ipasecondarybaserid', - label: IPA.messages.objects.range.ipasecondarybaserid, - tooltip: IPA.get_entity_param('range', 'ipasecondarybaserid').label - }, - { - name: 'ipanttrusteddomainsid', - label: IPA.messages.objects.range.ipanttrusteddomainsid, - tooltip: IPA.get_entity_param('range', 'ipanttrusteddomainsid').label - } - ] - } - ] - }). - adder_dialog({ - fields: [ - { - name: 'cn', - widget: 'range.cn' - }, - { - name: 'ipabaseid', - label: IPA.messages.objects.range.ipabaseid, - tooltip: IPA.get_entity_param('range', 'ipabaseid').label, - widget: 'range.ipabaseid' - }, - { - name: 'ipaidrangesize', - label: IPA.messages.objects.range.ipaidrangesize, - tooltip: IPA.get_entity_param('range', 'ipaidrangesize').label, - widget: 'range.ipaidrangesize' - }, - { - name: 'ipabaserid', - label: IPA.messages.objects.range.ipabaserid, - tooltip: IPA.get_entity_param('range', 'ipabaserid').label, - widget: 'range.ipabaserid' - }, - { - name: 'ipasecondarybaserid', - label: IPA.messages.objects.range.ipasecondarybaserid, - tooltip: IPA.get_entity_param('range', 'ipasecondarybaserid').label, - widget: 'type.ipasecondarybaserid' - }, - { - name: 'ipanttrusteddomainsid', - label: IPA.messages.objects.range.ipanttrusteddomainsid, - tooltip: IPA.get_entity_param('range', 'ipanttrusteddomainsid').label, - widget: 'type.ipanttrusteddomainsid' - } - ], - widgets: [ - { - type: 'details_table_section_nc', - name: 'range', - widgets: [ - 'cn', - 'ipabaseid', - 'ipaidrangesize', - 'ipabaserid' - ] - }, - { - type: 'multiple_choice_section', - name: 'type', - label: IPA.messages.objects.range.type, - choices: [ - { - name: 'local', - label: IPA.messages.objects.range.type_local, - fields: ['ipasecondarybaserid'], - required: ['ipasecondarybaserid'], - enabled: true - }, - { - name: 'ad', - label: IPA.messages.objects.range.type_ad, - fields: ['ipanttrusteddomainsid'], - required: ['ipanttrusteddomainsid'] - } - ], - widgets: [ - 'ipasecondarybaserid', - 'ipanttrusteddomainsid' - ] - } - ], - policies: [ - IPA.multiple_choice_section_policy({ - widget: 'type' - }) - ] - }); - }; - - return that; -}; - -IPA.register('range', IPA.range.entity); diff --git a/install/ui/test/data/idrange_add.json b/install/ui/test/data/idrange_add.json new file mode 100644 index 00000000..bccb88e7 --- /dev/null +++ b/install/ui/test/data/idrange_add.json @@ -0,0 +1,34 @@ +{ + "error": null, + "id": null, + "result": { + "result": { + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "dn": "cn=foo_range,cn=ranges,cn=etc,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", + "ipabaseid": [ + "107400000" + ], + "ipabaserid": [ + "1000" + ], + "ipaidrangesize": [ + "200000" + ], + "iparangetype": [ + "local domain range" + ], + "ipasecondarybaserid": [ + "100000000" + ], + "objectclass": [ + "top", + "ipaIDrange", + "ipaDomainIDRange" + ] + }, + "summary": "Added ID range \"DEV.EXAMPLE.COM_id_range\"", + "value": "DEV.EXAMPLE.COM_id_range" + } +} \ No newline at end of file diff --git a/install/ui/test/data/idrange_find.json b/install/ui/test/data/idrange_find.json new file mode 100644 index 00000000..9d47a94f --- /dev/null +++ b/install/ui/test/data/idrange_find.json @@ -0,0 +1,32 @@ +{ + "error": null, + "id": null, + "result": { + "count": 1, + "result": [ + { + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", + "ipabaseid": [ + "107400000" + ], + "ipabaserid": [ + "1001" + ], + "ipaidrangesize": [ + "200000" + ], + "iparangetype": [ + "local domain range" + ], + "ipasecondarybaserid": [ + "100000000" + ] + } + ], + "summary": "1 range matched", + "truncated": false + } +} \ No newline at end of file diff --git a/install/ui/test/data/idrange_find_pkeys.json b/install/ui/test/data/idrange_find_pkeys.json new file mode 100644 index 00000000..21f91cdb --- /dev/null +++ b/install/ui/test/data/idrange_find_pkeys.json @@ -0,0 +1,17 @@ +{ + "error": null, + "id": null, + "result": { + "count": 1, + "result": [ + { + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com" + } + ], + "summary": "1 range matched", + "truncated": false + } +} \ No newline at end of file diff --git a/install/ui/test/data/idrange_get_records.json b/install/ui/test/data/idrange_get_records.json new file mode 100644 index 00000000..5f17c26b --- /dev/null +++ b/install/ui/test/data/idrange_get_records.json @@ -0,0 +1,40 @@ +{ + "error": null, + "id": null, + "result": { + "count": 1, + "results": [ + { + "error": null, + "result": { + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", + "ipabaseid": [ + "107400000" + ], + "ipabaserid": [ + "1001" + ], + "ipaidrangesize": [ + "200000" + ], + "iparangetype": [ + "local domain range" + ], + "ipasecondarybaserid": [ + "100000000" + ], + "objectclass": [ + "top", + "ipaIDrange", + "ipaDomainIDRange" + ] + }, + "summary": null, + "value": "DEV.EXAMPLE.COM_id_range" + } + ] + } +} \ No newline at end of file diff --git a/install/ui/test/data/idrange_mod.json b/install/ui/test/data/idrange_mod.json new file mode 100644 index 00000000..47c72d05 --- /dev/null +++ b/install/ui/test/data/idrange_mod.json @@ -0,0 +1,43 @@ +{ + "error": null, + "id": null, + "result": { + "result": { + "attributelevelrights": { + "aci": "rscwo", + "cn": "rscwo", + "ipabaseid": "rscwo", + "ipabaserid": "rscwo", + "ipaidrangesize": "rscwo", + "ipasecondarybaserid": "rscwo", + "nsaccountlock": "rscwo", + "objectclass": "rscwo" + }, + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "ipabaseid": [ + "107400000" + ], + "ipabaserid": [ + "1001" + ], + "ipaidrangesize": [ + "200000" + ], + "iparangetype": [ + "local domain range" + ], + "ipasecondarybaserid": [ + "100000000" + ], + "objectclass": [ + "top", + "ipaIDrange", + "ipaDomainIDRange" + ] + }, + "summary": "Modified ID range \"DEV.EXAMPLE.COM_id_range\"", + "value": "DEV.EXAMPLE.COM_id_range" + } +} \ No newline at end of file diff --git a/install/ui/test/data/idrange_show.json b/install/ui/test/data/idrange_show.json new file mode 100644 index 00000000..0bf544fe --- /dev/null +++ b/install/ui/test/data/idrange_show.json @@ -0,0 +1,44 @@ +{ + "error": null, + "id": null, + "result": { + "result": { + "attributelevelrights": { + "aci": "rscwo", + "cn": "rscwo", + "ipabaseid": "rscwo", + "ipabaserid": "rscwo", + "ipaidrangesize": "rscwo", + "ipasecondarybaserid": "rscwo", + "nsaccountlock": "rscwo", + "objectclass": "rscwo" + }, + "cn": [ + "DEV.EXAMPLE.COM_id_range" + ], + "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", + "ipabaseid": [ + "107400000" + ], + "ipabaserid": [ + "1000" + ], + "ipaidrangesize": [ + "200000" + ], + "iparangetype": [ + "local domain range" + ], + "ipasecondarybaserid": [ + "100000000" + ], + "objectclass": [ + "top", + "ipaIDrange", + "ipaDomainIDRange" + ] + }, + "summary": null, + "value": "DEV.EXAMPLE.COM_id_range" + } +} \ No newline at end of file diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index d4f2fa4a..ede47241 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -368,7 +368,7 @@ "pwpolicy": { "identity": "Password Policy" }, - "range": { + "idrange": { "details": "Range Settings", "ipabaseid": "Base ID", "ipabaserid": "Primary RID base", diff --git a/install/ui/test/data/ipa_init_commands.json b/install/ui/test/data/ipa_init_commands.json index cfb2703f..4237cc8a 100644 --- a/install/ui/test/data/ipa_init_commands.json +++ b/install/ui/test/data/ipa_init_commands.json @@ -13708,7 +13708,7 @@ } ] }, - "range_add": { + "idrange_add": { "takes_args": [], "takes_options": [ { @@ -13797,7 +13797,7 @@ } ] }, - "range_del": { + "idrange_del": { "takes_args": [], "takes_options": [ { @@ -13811,7 +13811,7 @@ } ] }, - "range_find": { + "idrange_find": { "takes_args": [], "takes_options": [ { @@ -13941,7 +13941,7 @@ } ] }, - "range_mod": { + "idrange_mod": { "takes_args": [], "takes_options": [ { @@ -14045,7 +14045,7 @@ } ] }, - "range_show": { + "idrange_show": { "takes_args": [], "takes_options": [ { @@ -18180,4 +18180,4 @@ "methods": {}, "objects": {} } -} \ No newline at end of file +} diff --git a/install/ui/test/data/ipa_init_objects.json b/install/ui/test/data/ipa_init_objects.json index 02ac25f4..6458e4cd 100644 --- a/install/ui/test/data/ipa_init_objects.json +++ b/install/ui/test/data/ipa_init_objects.json @@ -5882,7 +5882,7 @@ ], "uuid_attribute": "" }, - "range": { + "idrange": { "aciattrs": [ "cn", "ipabaseid", @@ -7743,4 +7743,4 @@ } } } -} \ No newline at end of file +} diff --git a/install/ui/test/data/range_add.json b/install/ui/test/data/range_add.json deleted file mode 100644 index bccb88e7..00000000 --- a/install/ui/test/data/range_add.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "result": { - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "dn": "cn=foo_range,cn=ranges,cn=etc,dc=idm,dc=lab,dc=bos,dc=redhat,dc=com", - "ipabaseid": [ - "107400000" - ], - "ipabaserid": [ - "1000" - ], - "ipaidrangesize": [ - "200000" - ], - "iparangetype": [ - "local domain range" - ], - "ipasecondarybaserid": [ - "100000000" - ], - "objectclass": [ - "top", - "ipaIDrange", - "ipaDomainIDRange" - ] - }, - "summary": "Added ID range \"DEV.EXAMPLE.COM_id_range\"", - "value": "DEV.EXAMPLE.COM_id_range" - } -} \ No newline at end of file diff --git a/install/ui/test/data/range_find.json b/install/ui/test/data/range_find.json deleted file mode 100644 index 9d47a94f..00000000 --- a/install/ui/test/data/range_find.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "count": 1, - "result": [ - { - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", - "ipabaseid": [ - "107400000" - ], - "ipabaserid": [ - "1001" - ], - "ipaidrangesize": [ - "200000" - ], - "iparangetype": [ - "local domain range" - ], - "ipasecondarybaserid": [ - "100000000" - ] - } - ], - "summary": "1 range matched", - "truncated": false - } -} \ No newline at end of file diff --git a/install/ui/test/data/range_find_pkeys.json b/install/ui/test/data/range_find_pkeys.json deleted file mode 100644 index 21f91cdb..00000000 --- a/install/ui/test/data/range_find_pkeys.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "count": 1, - "result": [ - { - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com" - } - ], - "summary": "1 range matched", - "truncated": false - } -} \ No newline at end of file diff --git a/install/ui/test/data/range_get_records.json b/install/ui/test/data/range_get_records.json deleted file mode 100644 index 5f17c26b..00000000 --- a/install/ui/test/data/range_get_records.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "count": 1, - "results": [ - { - "error": null, - "result": { - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", - "ipabaseid": [ - "107400000" - ], - "ipabaserid": [ - "1001" - ], - "ipaidrangesize": [ - "200000" - ], - "iparangetype": [ - "local domain range" - ], - "ipasecondarybaserid": [ - "100000000" - ], - "objectclass": [ - "top", - "ipaIDrange", - "ipaDomainIDRange" - ] - }, - "summary": null, - "value": "DEV.EXAMPLE.COM_id_range" - } - ] - } -} \ No newline at end of file diff --git a/install/ui/test/data/range_mod.json b/install/ui/test/data/range_mod.json deleted file mode 100644 index 47c72d05..00000000 --- a/install/ui/test/data/range_mod.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "result": { - "attributelevelrights": { - "aci": "rscwo", - "cn": "rscwo", - "ipabaseid": "rscwo", - "ipabaserid": "rscwo", - "ipaidrangesize": "rscwo", - "ipasecondarybaserid": "rscwo", - "nsaccountlock": "rscwo", - "objectclass": "rscwo" - }, - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "ipabaseid": [ - "107400000" - ], - "ipabaserid": [ - "1001" - ], - "ipaidrangesize": [ - "200000" - ], - "iparangetype": [ - "local domain range" - ], - "ipasecondarybaserid": [ - "100000000" - ], - "objectclass": [ - "top", - "ipaIDrange", - "ipaDomainIDRange" - ] - }, - "summary": "Modified ID range \"DEV.EXAMPLE.COM_id_range\"", - "value": "DEV.EXAMPLE.COM_id_range" - } -} \ No newline at end of file diff --git a/install/ui/test/data/range_show.json b/install/ui/test/data/range_show.json deleted file mode 100644 index 0bf544fe..00000000 --- a/install/ui/test/data/range_show.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "error": null, - "id": null, - "result": { - "result": { - "attributelevelrights": { - "aci": "rscwo", - "cn": "rscwo", - "ipabaseid": "rscwo", - "ipabaserid": "rscwo", - "ipaidrangesize": "rscwo", - "ipasecondarybaserid": "rscwo", - "nsaccountlock": "rscwo", - "objectclass": "rscwo" - }, - "cn": [ - "DEV.EXAMPLE.COM_id_range" - ], - "dn": "cn=example.com_id_range,cn=ranges,cn=etc,dc=dev,dc=example,dc=com", - "ipabaseid": [ - "107400000" - ], - "ipabaserid": [ - "1000" - ], - "ipaidrangesize": [ - "200000" - ], - "iparangetype": [ - "local domain range" - ], - "ipasecondarybaserid": [ - "100000000" - ], - "objectclass": [ - "top", - "ipaIDrange", - "ipaDomainIDRange" - ] - }, - "summary": null, - "value": "DEV.EXAMPLE.COM_id_range" - } -} \ No newline at end of file diff --git a/install/ui/webui.js b/install/ui/webui.js index e9194601..f381ab0b 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -84,7 +84,7 @@ IPA.admin_navigation = function(spec) { ]}, {entity: 'selfservice'}, {entity: 'delegation'}, - {entity: 'range'}, + {entity: 'idrange'}, {entity: 'trust'}, {entity: 'config'} ]}]; -- cgit