-
Notifications
You must be signed in to change notification settings - Fork 260
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
Add support for inviting users from parent organization to sub-organization #4286
Conversation
Shall we use a more descriptive PR title? Eg: -Parent user invitation
+Add support for inviting users from parent organization to sub-organization |
Please resolve the conflicts as well :) |
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/invite-parent-org-user.tsx
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/invite-parent-org-user.tsx
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/invitee-role-selection.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/guest-users-list.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/guest-users-list.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/models/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/guest-users-list.tsx
Show resolved
Hide resolved
apps/console/src/features/applications/components/wizard/wizard-summary.tsx
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/api/invite.ts
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/guest-users-list.tsx
Show resolved
Hide resolved
apps/console/src/features/users/components/guests/pages/guest-users-list.tsx
Show resolved
Hide resolved
[ userTypeSelection === UserAccountTypesMain.EXTERNAL | ||
? t("console:manage.features.parentOrgInvitations." + | ||
"emptyPlaceholder.noExpiredInvitations") | ||
: "There are no collaborator users with expired invitations at the moment." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder on this
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
@@ -136,13 +186,59 @@ export const AddUserWizard: FunctionComponent<AddUserWizardPropsInterface> = ( | |||
|
|||
const [ alert, setAlert, alertComponent ] = useWizardAlert(); | |||
|
|||
const [ wizardSteps, setWizardSteps ] = useState<WizardStepInterface[]>([]); | |||
|
|||
const [ selectedUserStore, setSelectedUserStore ] = useState<string>("PRIMARY"); //TODO change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder on this
apps/console/src/features/users/components/wizard/add-user-wizard.tsx
Outdated
Show resolved
Hide resolved
@@ -1,5 +1,5 @@ | |||
/** | |||
* Copyright (c) 2021-2023, WSO2 LLC. (https://www.wso2.com). | |||
* Copyright (c) 2022, WSO2 LLC. (https://www.wso2.com). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's avoid changing this
Purpose
Related Issues
Checklist
Security checks