)]}'
{"tempest/services/identity/v2/json/identity_client.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"356c2f9b2511766527945b494f0026761ae67e3d","unresolved":false,"context_lines":[{"line_number":185,"context_line":"        \"\"\"Enables or disables a user.\"\"\""},{"line_number":186,"context_line":"        # TODO(piyush): Current api-site doesn\u0027t contain this API description."},{"line_number":187,"context_line":"        # After fixing the api-site, we need to fix here also for putting the"},{"line_number":188,"context_line":"        # link to api-site."},{"line_number":189,"context_line":"        put_body \u003d json.dumps({\u0027user\u0027: kwargs})"},{"line_number":190,"context_line":"        resp, body \u003d self.put(\u0027users/%s/enabled\u0027 % user_id, put_body)"},{"line_number":191,"context_line":"        self.expected_success(200, resp.status)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_3718b3d2","line":188,"updated":"2015-12-09 01:24:14.000000000","message":"The api-site contais this API on\nhttp://developer.openstack.org/api-ref-identity-v2-ext.html#enableUser\n\nThe URL(users/\u003cid\u003e/enabled) is different from the api-site one(/users/\u003cid\u003e/OS-KSADM/enabled), but they are the same API because of the following keystone code:\n\nkeystone/contrib/admin_crud/core.py\n 129         # COMPAT(diablo): the copy with no OS-KSADM is from diablo\n 130         mapper.connect(\n 131             \u0027/users/{user_id}/enabled\u0027,\n 132             controller\u003duser_controller,\n 133             action\u003d\u0027set_user_enabled\u0027,\n 134             conditions\u003ddict(method\u003d[\u0027PUT\u0027]))\n 135         mapper.connect(\n 136             \u0027/users/{user_id}/OS-KSADM/enabled\u0027,\n 137             controller\u003duser_controller,\n 138             action\u003d\u0027set_user_enabled\u0027,\n 139             conditions\u003ddict(method\u003d[\u0027PUT\u0027]))","commit_id":"fce4fa2e38c0d7c3c5bf28a2172cad2a113f5808"}]}
