feat: made scim user default permission as no access in org

This commit is contained in:
=
2024-09-02 13:50:26 +05:30
parent 58bab4d163
commit fe31d44d22

View File

@ -316,7 +316,7 @@ export const scimServiceFactory = ({
userId: userAlias.userId,
inviteEmail: email,
orgId,
role: OrgMembershipRole.Member,
role: OrgMembershipRole.NoAccess,
status: user.isAccepted ? OrgMembershipStatus.Accepted : OrgMembershipStatus.Invited, // if user is fully completed, then set status to accepted, otherwise set it to invited so we can update it later
isActive: true
},