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

Cannot import bulk users for suborganizations #17051

Closed
asekawa opened this issue Oct 19, 2023 · 3 comments
Closed

Cannot import bulk users for suborganizations #17051

asekawa opened this issue Oct 19, 2023 · 3 comments

Comments

@asekawa
Copy link

asekawa commented Oct 19, 2023

Describe the issue:

Cannot import bulk users for suborganizations , as getting the following error while importing a csv
Screenshot 2023-10-19 at 10 39 28

How to reproduce:

1.Login into the console
2. Create a sub-organization
3.Go to users section
4.Click on add user
5.Select import bulk users option
6.Select upload option -> upload a csv file which contains user information

Expected behavior:

users should be able to import via csv successfully

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

  • Product Version: [e.g., IS 5.10.0, IS 5.9.0]
  • OS: [e.g., Windows, Linux, Mac]
  • Database: [e.g., MySQL, H2]
  • Userstore: [e.g., LDAP, JDBC]

Optional Fields

Related issues:

Suggested labels:

@asekawa asekawa changed the title Cannot import bulk import users for suborganizations Cannot import bulk users for suborganizations Oct 19, 2023
@AnuradhaSK AnuradhaSK added this to the 7.0.0-alpha milestone Oct 19, 2023
@AnuradhaSK
Copy link
Contributor

  • The sub-organizations use organization-qualified APIs (o/<org-id> path)
  • The initial idea of not supporting the /scim2/Roles endpoint in the o/<org-id> path is to restrict creating carbon/hybrid roles inside the organizations. Instead, we use organization roles to manage permissions.
  • Therefore selected set of scim2 endpoints was allowed to use in the o/<org-id> path
  • If the /scim2/Bulk is supported in the o/<org-id> path, users can use the bulk endpoint to create carbon/hybrid roles

  • Since we are moving from given custom role mgt feature for B2B case and going to use /scim2/v2/Roles (still sub-orgs can't define their own role here).
  • As an improvement let's block the scim2/Roles endpoint for role creation and update for sub-orgs in API service level.
  • Hence +1 to enable scim2/Bulk endpoint to use with organization context.

@PasinduYeshan
Copy link
Contributor

This issue is addressed in following PRs.

@PasinduYeshan
Copy link
Contributor

PasinduYeshan commented Oct 25, 2023

This issue is resolved.

2023-10-25.09-47-20.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants