Production release February 2024 [CONNECT] #34

Merged
konstantina.galouni merged 168 commits from develop into master 2024-02-15 11:04:20 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6c9c477c24 - Show all commits

View File

@ -60,7 +60,7 @@ export class PortalSearchResultComponent implements OnInit{
hasPermission(result: CommunityInfo & StakeholderInfo) {
if(this.type === "community") {
return result.status === "all" || (result.status === "manager" && result.isManager);
return result.isPublic() || (result.isRestricted() && result.isManager);
} else if(this.type === "stakeholder") {
return result.visibility === "PUBLIC" || (result.visibility === "RESTRICTED" && (result.isManager || result.isMember)) ||
(result.visibility === "PRIVATE" && result.isManager);