From 96852a0849efa33717d58bcecfcbb498ce897242 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Sat, 16 Jul 2016 08:03:16 -0700 Subject: [PATCH] v2 api: remove APIs for global roles These APIs will return a NotImplemented error. Change-Id: I052864549eb3ef6d60e886caf5de6c71b324cce6 link: https://github.com/openstack/keystone/blob/master/keystone/assignment/controllers.py#L161-L163 --- api-ref/source/v2-ext/ksadm-admin.inc | 38 --------------------------- 1 file changed, 38 deletions(-) diff --git a/api-ref/source/v2-ext/ksadm-admin.inc b/api-ref/source/v2-ext/ksadm-admin.inc index 4a57acb27b..037e5064e5 100644 --- a/api-ref/source/v2-ext/ksadm-admin.inc +++ b/api-ref/source/v2-ext/ksadm-admin.inc @@ -312,44 +312,6 @@ Request - roleId: roleId - -Grant global role to user -========================= - -.. rest_method:: PUT /v2.0/users/{userId}/roles/OS-KSADM/{roleId} - -Grants a global role to a user. - -Normal response codes: 201 -Error response codes: 413,415,405,404,403,401,400,503,409 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - userId: userId - - roleId: roleId - - -Delete global role from user -============================ - -.. rest_method:: DELETE /v2.0/users/{userId}/roles/OS-KSADM/{roleId} - -Deletes a global role from a user. - -Normal response codes: 204 -Error response codes: 413,415,405,404,403,401,400,503,409 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - userId: userId - - roleId: roleId - Grant roles to user on tenant =============================