Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block role creation for sub organizations. #489

Merged
merged 4 commits into from
Oct 20, 2023

Conversation

PasinduYeshan
Copy link
Contributor

Description

To provide bulk user import feature for sub organizations the scim2/Bulk endpoint should be accessible for sub-organizations, which allows various operations, including role creation.
However, the initial intent was to avoid supporting the /scim2/Roles endpoint in the o/ path for sub-organizations. Instead, the organization roles should be used to manage permissions.

Proposed Changes:

This PR introduces a restriction that prevents role creation from sub-organizations.

AnuradhaSK
AnuradhaSK previously approved these changes Oct 19, 2023
@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6573818815

thanujalk
thanujalk previously approved these changes Oct 19, 2023
@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6573818815
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6576526506

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6576526506
Status: failure

@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6577699679

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6577699679
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/6577699679

@sadilchamishka sadilchamishka merged commit cf266e8 into wso2-extensions:master Oct 20, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants