fix: vms permissions

This commit is contained in:
Alexis Tyler
2021-07-19 15:09:55 +09:30
parent b26bd38b36
commit 23ae9a57a1
+2
View File
@@ -39,6 +39,7 @@ export const admin = {
{ resource: 'uptime', action: 'read:any', attributes: '*' },
{ resource: 'user', action: 'read:any', attributes: '*' },
{ resource: 'vars', action: 'read:any', attributes: '*' },
{ resource: 'vms', action: 'read:any', attributes: '*' },
{ resource: 'vms/domain', action: 'read:any', attributes: '*' },
{ resource: 'vms/network', action: 'read:any', attributes: '*' }
]
@@ -89,6 +90,7 @@ export const my_servers = {
{ resource: 'machine-id', action: 'read:any', attributes: '*' },
{ resource: 'software-versions', action: 'read:any', attributes: '*' },
{ resource: 'vars', action: 'read:any', attributes: '*' },
{ resource: 'vms', action: 'read:any', attributes: '*' },
{ resource: 'vms/domain', action: 'read:any', attributes: '*' }
]
};