diff --git a/src/app/data/rbac.service.ts b/src/app/data/rbac.service.ts index 73b1076d..89d1d688 100644 --- a/src/app/data/rbac.service.ts +++ b/src/app/data/rbac.service.ts @@ -42,7 +42,7 @@ export class RbacService { this.userAccess = lastValueFrom( this.garg.get('/access').pipe( map((s: ServerResponse) => { - const accessSet: AccessSet = JSON.parse(atou(s.content)); + const accessSet: AccessSet = JSON.parse(atou(s.content).toLowerCase()); // toLowerCase() needed. See https://github.com/hobbyfarm/hobbyfarm/issues/477 return accessSet; }), ),