Skip to content

Warn when deleting roles bound to groups #7199

@richard-cox

Description

@richard-cox

Setup

  • Rancher version: 2.7.0

Describe the bug
This follows on from #6578. The current implementation only applies to users bound to roles. We also need to cover groups boun to roles

To Reproduce

  1. Setup an Auth Provider (for dev github is pretty straight forward)
  2. Nav to Users & Authentication --> Groups --> Assign Global Roles and assign a Role such as Manage Settings to a group associated with the Auth Provider
  3. Nav to Roles and try to delete the role assigned to the group

Result

  • See screen shot, we show no users bound but not that 1 group is bound

Expected Result

  • We should warn users if either users or groups are bound to the role/s that will be deleted

Screenshots
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions