Add API permissions for akkounts VMs

Using the zerotier IP, which is the same as the knife-zero host.
This commit is contained in:
2020-12-08 20:00:31 +01:00
parent 8e0a66184c
commit 239b6aed51
2 changed files with 15 additions and 1 deletions

View File

@@ -174,6 +174,14 @@ api_permissions:
what:
- "status"
- "connected_users_number"
"akkounts":
who:
<% @akkounts_ip_addresses.each do |ip| -%>
- ip: "<%= ip %>/8"
<% end -%>
what:
- "add_rosteritem"
- "delete_rosteritem"
language: "en"