From f821c0e258a3a786e1a8fb410929069c2e983ccf Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Wed, 12 May 2021 09:32:11 +0930 Subject: [PATCH] fix: add other endpoints to upc permissions --- app/core/default-permissions.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/core/default-permissions.ts b/app/core/default-permissions.ts index 87b555bb0..d9e85e7e5 100644 --- a/app/core/default-permissions.ts +++ b/app/core/default-permissions.ts @@ -58,7 +58,14 @@ export const upc = { permissions: [ { resource: 'apikey', action: 'read:own', attributes: '*' }, { resource: 'permission', action: 'read:any', attributes: '*' }, - { resource: 'registration', action: 'read:any', attributes: '*' } + { resource: 'registration', action: 'read:any', attributes: '*' }, + { resource: 'owner', action: 'read:any', attributes: '*' }, + { resource: 'flash', action: 'read:any', attributes: '*' }, + { resource: 'os', action: 'read:any', attributes: '*' }, + { resource: 'vars', action: 'read:any', attributes: '*' }, + { resource: 'disk', action: 'read:any', attributes: '*' }, + { resource: 'crash-reporting-enabled', action: 'read:any', attributes: '*' }, + { resource: 'servers', action: 'read:any', attributes: '*' } ] };