Skip to content

Commit 36e9175

Browse files
Merge pull request #6020 from pavinduLakshan/add_b2b_user_sharing_docs
Add docs for B2B user sharing
2 parents f2fea00 + de4bcb7 commit 36e9175

7 files changed

Lines changed: 77 additions & 24 deletions

File tree

.coderabbit.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: en-US
2+
tone_instructions: ""
3+
early_access: false
4+
enable_free_tier: true
5+
reviews:
6+
profile: chill
7+
request_changes_workflow: false
8+
high_level_summary: false
9+
sequence_diagrams: false
10+
estimate_code_review_effort: false
11+
auto_assign_reviewers: true
12+
poem: false
13+
labeling_instructions:
14+
- label: "Team/Authentication & registration"
15+
instructions: "Use for documentation related to custom authenticators, login flows, registration flows, application authentication settings, login UI, identity providers in login, MFA configuration and authentication steps."
16+
- label: "Team/User & identity administration"
17+
instructions: "Use for documentation related to user management, identity management, profile management, account settings, password management, user roles and permissions."
18+
- label: "Team/API Access Mgt & Authorization"
19+
instructions: "Use for documentation related to API authorization, OAuth/OIDC authorization issues, role management, permission management, consent management, scope management, access policies."
20+
- label: "Team/B2B"
21+
instructions: "Use for documentation related to sub-organization management, partner authentication, partner identity management, organization hierarchy."
22+
- label: "Team/Identity Server Core"
23+
instructions: "Use for documentation related to email provider configuration, SMS provider configuration, deployment configuration, server performance improvements, infrastructure issues, core backend services, tenant management, web application or API performance and maintenance."
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
{% set product_name = "WSO2 Identity Server" %}
2+
{% set is_version = "7.1.0" %}
3+
14
{% include "../../../../../includes/guides/organization-management/share-user-profiles.md" %}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
{% set product_name = "WSO2 Identity Server" %}
2+
{% set is_version = "7.2.0" %}
3+
14
{% include "../../../../../includes/guides/organization-management/share-user-profiles.md" %}
72 KB
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
{% set product_name = "WSO2 Identity Server" %}
2+
{% set is_version = "7.3.0" %}
3+
14
{% include "../../../../../includes/guides/organization-management/share-user-profiles.md" %}

en/identity-server/next/docs/guides/users/manage-users.md

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ This guide walks you through how you can manage user accounts as an administrato
88

99
To learn more about onboarding users, see [Onboard users]({{base_path}}/guides/users/onboard-users/).
1010

11+
## Filter users
12+
13+
Administrators can filter users based on their account status from the {{ product_name }} Console.
14+
15+
To filter users by account status:
16+
17+
1. On the {{ product_name }} Console, go to **User Management** > **Users**.
18+
2. Click the **Account Status** dropdown and select the relevant filter criteria:
19+
20+
- **Locked**: Filters users with locked accounts.
21+
- **Disabled**: Filters users with deactivated accounts.
22+
- **Pending password reset**: Filters users for whom the administrator has initiated a forced password reset, but the users haven't yet reset their passwords.
23+
- **Pending initial password setup**: Filters users an administrator invited to set their own password during initial account creation but who haven't done so yet.
24+
- **Pending email verification**: Filters users who haven't yet verified their primary email addresses.
25+
- **Pending mobile verification**: Filters users who haven't yet verified their primary mobile numbers.
26+
27+
![Filter users by account status]({{base_path}}/assets/img/guides/users/filter-users-by-account-status.png){: width="600" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
28+
1129
## Assign groups
1230

1331
Groups are useful when you wish to assign a certain permission level to multiple users. A user can be a member of multiple groups in the organization. Learn how to [manage groups]({{base_path}}/guides/users/manage-groups/).
@@ -55,6 +73,30 @@ To update the user profile:
5573

5674
4. Click **Update** to save.
5775

76+
## Share user with organizations
77+
78+
An administrator can share a user with an organization (or multiple organizations) via the WSO2 Identity Server Console.
79+
80+
To share a user with organizations:
81+
82+
1. On the WSO2 Identity Server Console, go to **User Management** > **Users**.
83+
84+
2. Find the user's account in the user list and click **Edit**.
85+
86+
3. Navigate to the **Shared Access** tab.
87+
88+
4. Select the appropriate sharing option.
89+
90+
- **Do not share user with any organization** - user will not be shared with any organizations.
91+
92+
- **Share user with all organizations** - user is shared with all current and future organizations. When the user is shared, administrators can also configure which roles should be assigned to the user in the shared organizations.
93+
94+
![Share user with all organizations]({{base_path}}/assets/img/guides/users/share-user-with-all-organizations.png){: width="600" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}
95+
96+
- **Share user with selected organizations** - user is shared with a specific set of existing organizations, but they are not shared with the future children organizations. Administrators can configure which roles should be assigned to the user in the shared organizations.
97+
98+
5. Once selected and configured, click **Save**.
99+
58100
## Resend invitation links and codes
59101

60102
Administrators can resend expired invitation links or verification codes to users. This applies when users need to:
@@ -142,7 +184,6 @@ Specify the **recovery scenario** in the `properties` parameter of the API reque
142184
- Provide the username without the user store domain prefix
143185
- Specify the relevant user store domain name in the `realm` parameter
144186

145-
146187
---
147188
**Response**
148189
```
@@ -195,7 +236,7 @@ To reset the password:
195236

196237
3. Click **Reset Password**.
197238

198-
**Using the API**
239+
### Using the API
199240

200241
You can also use WSO2 Identity Server's [SCIM API]({{base_path}}/apis/scim2-users-rest-apis/#tag/Users-Endpoint/operation/patchUser) to initiate the admin initiated password recovery flow.
201242

@@ -319,21 +360,3 @@ To delete a user account:
319360
320361
3. Select the checkbox to confirm your action.
321362
4. Click **Confirm**.
322-
323-
## Filter users
324-
325-
Administrators can filter users based on their account status from the {{ product_name }} Console.
326-
327-
To filter users by account status:
328-
329-
1. On the {{ product_name }} Console, go to **User Management** > **Users**.
330-
2. Click the **Account Status** dropdown and select the relevant filter criteria:
331-
332-
- **Locked**: Filters users with locked accounts.
333-
- **Disabled**: Filters users with deactivated accounts.
334-
- **Pending password reset**: Filters users for whom the administrator has initiated a forced password reset, but the users haven't yet reset their passwords.
335-
- **Pending initial password setup**: Filters users an administrator invited to set their own password during initial account creation but who haven't done so yet.
336-
- **Pending email verification**: Filters users who haven't yet verified their primary email addresses.
337-
- **Pending mobile verification**: Filters users who haven't yet verified their primary mobile numbers.
338-
339-
![Filter users by account status]({{base_path}}/assets/img/guides/users/filter-users-by-account-status.png){: width="600" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

en/includes/guides/organization-management/share-user-profiles.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ There are three ways how user profiles are shared between organizations:
1010

1111
2. An organization admin can invite users from the immediate parent organization to join the organization. Once the user accepts the invitation, the user profile is automatically shared with the child organization. Learn more about [inviting existing users from the parent organization]({{base_path}}/guides/organization-management/onboard-users/#invite-existing-users-from-the-parent-organization).
1212

13-
3. An admin can share users of an organization with other organizations lower in the hierarchy using the [User Sharing API]({{base_path}}/apis/organization-user-share-rest-api).
13+
3. An admin can share users of an organization with other organizations lower in the hierarchy {% if product_name == "WSO2 Identity Server" and is_version > "7.2.0" %}[through the {{product_name}} Console]({{base_path}}/guides/users/manage-users/#share-user-with-organizations) or {% endif %} using the [User Sharing API]({{base_path}}/apis/organization-user-share-rest-api).
1414

1515
## Customize user attributes in shared user profiles
1616

@@ -31,7 +31,7 @@ If your organization has a user whose profile is managed by another organization
3131
<tr>
3232
<td>From Shared Profile</td>
3333
<td>The organization can customize the user attribute value.</td>
34-
</tr>
34+
</tr>
3535
<tr>
3636
<td>From First Found in Hierarchy</td>
3737
<td>The user attribute inherits the value from the nearest organization in the hierarchy that has assigned a non-null value to it.</td>
@@ -40,5 +40,3 @@ If your organization has a user whose profile is managed by another organization
4040
</table>
4141

4242
Learn more about attribute configurations in [configure attributes]({{base_path}}/guides/users/attributes/manage-attributes/#configure-attributes).
43-
44-

0 commit comments

Comments
 (0)