Skip to content

v3/Roles regression in functionality migration from V2 #1924

Open
@ChrisMtz

Description

@ChrisMtz

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"

CF curl error screenshot

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions