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

Provide capability to update shared user profile and resolve the shared profile based on organization hierarchy #22126

Open
AnuradhaSK opened this issue Jan 1, 2025 · 1 comment

Comments

@AnuradhaSK
Copy link
Contributor

Problem

WSO2 Identity Server (IS) currently has user sharing functionality to allow a single user identity to belong to multiple organizations, with the parent organization managing the user’s credentials. Once a user is shared with sub-organizations, different entitlements (roles and groups) can be assigned to the user within those sub-organizations. However, there is a restriction as user’s profile cannot be edited.
Therefore, there is no way to manage or customize specific attributes for that user on a per-organization basis.

Proposed Solution

To address this, we introduce a metadata property for each local user attributes (attributes managed at user stores external to IS) and identity attribute(attributes managed at the IS data layer) named “SharedProfileValueResolvingMethod”, which can have one of the following values:

  • FromOrigin
  • FromSharedProfile
  • FromFirstFoundInHierarchy

Also, allow to edit the attributes in the shared profile if the above mentioned metadata is set to FromSharedProfile or FromFirstFoundInHierarchy.

Then, resolve the shared user profile according to claim's SharedProfileValueResolvingMethod value.
Screenshot 2025-01-01 at 08 44 56

Alternatives

No response

Version

7.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

1 participant