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.
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
Sub organization
How to reproduce:
Log in to the Console
Navigate to role and check Available roles
Create sub org
Switch to sub org
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) :
If an organization audience allowed app is shared, with sub orgs "admin" and "everyone" roles will be created.
But when the application is unshared, "admin" role will be deleted but everyone role will be remained
system role will not be deleted because it is not treated as a shared role
Proper way of handling:
All admin, everyone, system kind of org roles should be created inside a suborg upon sharing an org audience role is shared
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
Sub organization
How to reproduce:
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: