Production release November 2023 #20

Merged
argiro.kokogiannaki merged 75 commits from develop into master 2023-11-07 09:48:32 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9af2fac9a0 - Show all commits

View File

@ -112,7 +112,7 @@ export class Session {
}
public static isCurator(type: string, user: User): boolean {
return stakeholderTypes.find(stakeholderType => stakeholderType.value == type) && this.isTypeCurator(type, user);
return (type === 'community' || stakeholderTypes.find(stakeholderType => stakeholderType.value == type)) && this.isTypeCurator(type, user);
}
public static isPortalAdministrator(user: User): boolean {