From 47d61e6cabc7a9053a7878ea3b8676ad59415f39 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 29 Nov 2010 14:26:55 -0500 Subject: action panel sibling added function to get sibling entities from the tab set. remove explicit sibling code from entity pages Modified the Label fields on HBAC and SUDO to make them appear cleaner in the UI --- install/static/test/data/ipa_init.json | 109 ++++++++++++++------------------- 1 file changed, 45 insertions(+), 64 deletions(-) (limited to 'install/static/test') diff --git a/install/static/test/data/ipa_init.json b/install/static/test/data/ipa_init.json index 84fc02cc..1de68490 100644 --- a/install/static/test/data/ipa_init.json +++ b/install/static/test/data/ipa_init.json @@ -6,37 +6,6 @@ "results": [ { "error": null, - "messages": { - "ajax": { - "401": "Your kerberos ticket no longer valid.Please run KInit and then click 'retry'If this is your first time running the IPA Web UI Follow these directions to configure your browser." - }, - "button": { - "add": "Add", - "enroll": "Enroll", - "find": "Find", - "remove": "Delete", - "reset": "Reset", - "update": "Update" - }, - "details": { - "account": "Account Details", - "contact": "Contact Details", - "employee": " Employee Information", - "identity": "Identity Details", - "mailing": "Mailing Address", - "misc": "Misc. Information", - "to_top": "Back to Top" - }, - "login": { - "header": "Logged In As" - }, - "search": { - "delete_confirm": "Do you really want to delete the selected entries?", - "quick_links": "Quick Links", - "select_all": "Select All", - "unselect_all": "Unselect All" - } - }, "metadata": { "aci": { "__base64__": "" @@ -1090,11 +1059,11 @@ "include": null, "label": "Group name", "length": null, - "maxlength": 33, + "maxlength": 255, "minlength": null, "multivalue": false, "name": "cn", - "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?$", + "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", "pattern_errmsg": "may only include letters, numbers, _, -, . and $", "primary_key": true, "query": false, @@ -1638,7 +1607,7 @@ "objectclass", "aci" ], - "label": "Services", + "label": "HBAC Services", "methods": [ "add", "del", @@ -1807,6 +1776,9 @@ "enrolledby": [ "user" ], + "managedby": [ + "host" + ], "memberof": [ "hostgroup", "netgroup", @@ -1824,7 +1796,8 @@ "nsosversion", "usercertificate", "memberof", - "krblastpwdchange" + "krblastpwdchange", + "managedby" ], "hidden_attributes": [ "objectclass", @@ -1833,10 +1806,12 @@ "label": "Hosts", "methods": [ "add", + "add_managedby", "del", "disable", "find", "mod", + "remove_managedby", "show" ], "name": "host", @@ -2559,6 +2534,9 @@ ], "uuid_attribute": "ipauniqueid" }, + "pkinit": { + "__base64__": "" + }, "pwpolicy": { "attribute_members": {}, "container_dn": "cn=AYOUNG.BOSTON.DEVEL.REDHAT.COM,cn=kerberos", @@ -2972,7 +2950,7 @@ "objectclass", "aci" ], - "label": "SudoCmds", + "label": "SUDO Commands", "methods": [ "add", "del", @@ -3071,7 +3049,7 @@ "objectclass", "aci" ], - "label": "Sudo Command Groups", + "label": "SUDO Command Groups", "methods": [ "add", "add_member", @@ -3232,7 +3210,7 @@ "objectclass", "aci" ], - "label": "SudoRule", + "label": "SUDO", "methods": [ "add", "add_allow_command", @@ -3699,11 +3677,11 @@ "include": null, "label": "User login", "length": null, - "maxlength": 33, + "maxlength": 255, "minlength": null, "multivalue": false, "name": "uid", - "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,30}[a-zA-Z0-9_.$-]?$", + "pattern": "^[a-zA-Z0-9_.][a-zA-Z0-9_.-]{0,252}[a-zA-Z0-9_.$-]?$", "pattern_errmsg": "may only include letters, numbers, _, -, . and $", "primary_key": true, "query": false, @@ -4145,19 +4123,19 @@ "Administrator" ], "gidnumber": [ - "1010626268" + "757995011" ], "homedirectory": [ "/home/admin" ], "ipauniqueid": [ - "73321718-f35011df-8e89dc8d-0b6df103" + "297bbe44-f810-11df-8f59-525400674dcd" ], "krblastpwdchange": [ - "20101118201738Z" + "20101124211850Z" ], "krbpasswordexpiration": [ - "20110216201738Z" + "20110222211850Z" ], "krbprincipalname": [ "admin@AYOUNG.BOSTON.DEVEL.REDHAT.COM" @@ -4198,7 +4176,7 @@ "admin" ], "uidnumber": [ - "1010626268" + "757995011" ] } ], @@ -4206,18 +4184,18 @@ "truncated": false }, { - "count": 64, + "count": 67, "error": null, "result": { "basedn": "dc=ayoung,dc=boston,dc=devel,dc=redhat,dc=com", - "bin": "/var/www", + "bin": "/home/ayoung/devel/freeipa", "ca_agent_port": 9443, "ca_ee_port": 9444, "ca_host": "ipa.ayoung.boston.devel.redhat.com", "ca_port": 9180, - "conf": "/etc/ipa/server.conf", - "conf_default": "/etc/ipa/default.conf", - "confdir": "/etc/ipa", + "conf": "/root/.ipa/lite.conf", + "conf_default": "/root/.ipa/default.conf", + "confdir": "/root/.ipa", "config_loaded": true, "container_accounts": "cn=accounts", "container_applications": "cn=applications,cn=configs,cn=policies", @@ -4243,39 +4221,42 @@ "container_taskgroup": "cn=taskgroups,cn=accounts", "container_user": "cn=users,cn=accounts", "container_virtual": "cn=virtual operations", - "context": "server", + "context": "lite", "debug": false, "domain": "ayoung.boston.devel.redhat.com", - "dot_ipa": "/var/www/.ipa", + "dot_ipa": "/root/.ipa", "enable_ra": true, "fallback": true, - "home": "/var/www", + "home": "/root", "host": "ipa.ayoung.boston.devel.redhat.com", "in_server": true, - "in_tree": false, + "in_tree": true, "interactive": true, - "ipalib": "/usr/lib/python2.6/site-packages/ipalib", + "ipalib": "/home/ayoung/devel/freeipa/ipalib", "ldap_uri": "ldapi://%2fvar%2frun%2fslapd-AYOUNG-BOSTON-DEVEL-REDHAT-COM.socket", - "log": null, - "logdir": "/var/log/ipa", + "lite_host": "127.0.0.1", + "lite_pem": "/root/.ipa/lite.pem", + "lite_port": 8888, + "log": "/root/.ipa/log/lite.log", + "logdir": "/root/.ipa/log", "mode": "production", "mount_ipa": "/ipa/", "mount_jsonserver": "json", "mount_xmlserver": "xml", "prompt_all": false, - "ra_plugin": "dogtag", + "ra_plugin": "selfsign", "realm": "AYOUNG.BOSTON.DEVEL.REDHAT.COM", "rpc_json_uri": "http://localhost:8888/ipa/json", - "script": "/var/www/mod_wsgi", - "site_packages": "/usr/lib/python2.6/site-packages", - "startup_traceback": false, + "script": "/home/ayoung/devel/freeipa/lite-server.py", + "site_packages": "/home/ayoung/devel/freeipa", + "startup_traceback": true, "verbose": 0, "webui_assets_dir": null, "webui_prod": true, - "xmlrpc_uri": "https://ipa.ayoung.boston.devel.redhat.com/ipa/xml" + "xmlrpc_uri": "http://localhost:8888/ipa/xml" }, - "summary": "64 variables", - "total": 64 + "summary": "67 variables", + "total": 67 } ] } -- cgit