We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15d1ecc commit fc9b5dbCopy full SHA for fc9b5db
src/app/data/rbac.service.ts
@@ -42,7 +42,7 @@ export class RbacService {
42
this.userAccess = lastValueFrom(
43
this.garg.get('/access').pipe(
44
map((s: ServerResponse) => {
45
- 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
46
return accessSet;
47
}),
48
),
0 commit comments