Skip to content

Commit

Permalink
Add feature flag back to PRP (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paahn authored Dec 10, 2024
1 parent d4e27ef commit d2b92c6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export class AccessStateBuilder {
],
),
...ArrayUtils.insertResultIf<IAccessSection>(
this.insertSection('providerReportingPortal', profileStatus),
this.insertSection('providerReportingPortal', profileStatus) &&
this.permissionsService.hasRole([Role.FEATURE_PIDP_DEMO]),
() => [new ProviderReportingPortalSection(profileStatus, this.router)],
),
...ArrayUtils.insertResultIf<IAccessSection>(
Expand Down

0 comments on commit d2b92c6

Please sign in to comment.