Open
Description
Thanks for submitting an issue to cloud_controller_ng
. We are always trying to improve! To help us, please fill out the following template.
Issue
V3 migration: Lost functionality to remove your own Org roles without the Org Manager role.
Context
DELETE /v2/organizations/:guid/:type/:uaaGuid
allows you to delete yourself. EG: removing your own Org User role without having Org Manager roles.
Using DELETE /v3/roles/:guid
this is no longer the case.
Steps to Reproduce
Using V3:
- Have the Org User role or Org Auditor without the Org Manager role.
- Try to delete the Org User or Org Auditor role.
Expected result
Allows you to delete the Role normally
Current result
Returns with error: "You are not authorized to perform the requested action"