Skip to content

Commit

Permalink
add system schema usages
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-ariyaratne committed Jan 22, 2025
1 parent 689a356 commit 8a81237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1089,10 +1089,7 @@ export const BulkImportUserWizard: FunctionComponent<BulkImportUserInterface> =
selectedUserStore.toLowerCase() !== PRIMARY_USERSTORE.toLowerCase()
? `${selectedUserStore}/${email}`
: email,
[ !StringUtils.isEqualCaseInsensitive(userstore, primaryUserStoreDomainName)
? UserManagementConstants.CUSTOMSCHEMA
: UserManagementConstants.ENTERPRISESCHEMA
]: {
[ UserManagementConstants.SYSTEMSCHEMA ]: {
askPassword: "true"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export class UserManagementConstants {

// Schema related constants.
public static readonly ENTERPRISESCHEMA: string = "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User";
public static readonly SYSTEMSCHEMA: string = "urn:scim:wso2:schema";
/**
* @deprecated This variable is deprecated. Use `SCIM2_CUSTOM_SCHEMA` instead.
*/
Expand Down

0 comments on commit 8a81237

Please sign in to comment.