Skip to content

Commit

Permalink
allow LegalRepresentative changes for scopes for standard users
Browse files Browse the repository at this point in the history
  • Loading branch information
GunnlaugurG committed Dec 3, 2024
1 parent 918cf3b commit df3a384
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,8 @@ export const PermissionDelegations = () => {
{providers.map((provider) =>
!provider ||
(!isSuperAdmin &&
(provider.id ===
AuthDelegationProvider.PersonalRepresentativeRegistry ||
provider.id ===
AuthDelegationProvider.DistrictCommissionersRegistry)) ? null : (
provider.id ===
AuthDelegationProvider.PersonalRepresentativeRegistry) ? null : (
<Stack space={2} key={provider.id}>
<div>
<Text variant="h5" as="h4" paddingBottom={1}>
Expand Down

0 comments on commit df3a384

Please sign in to comment.