wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
741 stars 719 forks source link

Role Availability Discrepancy at Sub-Organization Level #20147

Open aaujayasena opened 5 months ago

aaujayasena commented 5 months ago

Describe the issue: At the root organization level, the roles of System, Everyone, and Admin are available, and users can view and update these roles as expected. However, at the sub-organization level, System role is available. This behavior seems doughtful since, at the sub-organization level, only the shared application roles should be available. The behaviour should be further analyse.

Root Organization

image

Sub organization

image

How to reproduce:

  1. Log in to the Console
  2. Navigate to role and check Available roles
  3. Create sub org
  4. Switch to sub org
  5. Check the role avaible.

Expected behavior: Only the shared application role should be available. But the System role is available and the validity of it should be further analyse.

Environment information (Please complete the following information; remove any unnecessary fields) :


Optional Fields

Related issues:

Suggested labels:

AnuradhaSK commented 4 months ago

The other inconsistency is:

Proper way of handling: