fix: join project permission mutation (#5580)

This commit is contained in:
Anmol Singh Bhatia
2024-09-11 12:37:31 +05:30
committed by GitHub
parent 00b76300f5
commit bb49d27a84
@@ -239,6 +239,9 @@ export class UserMembershipStore implements IUserMembershipStore {
...this.hasPermissionToProject,
...newPermissions,
};
projectIds.forEach((projectId) => {
set(this.workspaceProjectsRole, [workspaceSlug, projectId], EUserProjectRoles.MEMBER);
});
});
});