fix: add other endpoints to upc permissions

This commit is contained in:
Alexis Tyler
2021-05-12 09:32:11 +09:30
parent a6a40ce21d
commit f821c0e258

View File

@@ -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: '*' }
]
};