Skip to content

Commit fdac31c

Browse files
authored
Merge pull request #919 from Ostap-Zherebetskyi/feature/institutions_sso_filter
[ENG-10636] Make sure institutions with hidden SSO Availability don't show up in https://osf.io/institutions
2 parents 8464901 + da9a502 commit fdac31c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/app/shared/mappers/institutions/institutions.mapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class InstitutionsMapper {
2525
logoPath: data.attributes.logo_path,
2626
userMetricsUrl: data.relationships?.user_metrics?.links?.related?.href,
2727
linkToExternalReportsArchive: data.attributes.link_to_external_reports_archive,
28+
sso_availability: data.attributes.sso_availability,
2829
};
2930
}
3031

src/app/shared/models/institutions/institution-json-api.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ interface InstitutionAttributesJsonApi {
2323
institutional_request_access_enabled: boolean;
2424
logo_path: string;
2525
link_to_external_reports_archive: string;
26+
sso_availability: string;
2627
}
2728

2829
interface InstitutionLinksJsonApi {

src/app/shared/models/institutions/institutions.models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface Institution {
1616
logoPath: string;
1717
userMetricsUrl?: string;
1818
linkToExternalReportsArchive?: string;
19+
sso_availability: string;
1920
}
2021

2122
export interface InstitutionAssets {

0 commit comments

Comments
 (0)