Add API permissions for akkounts VMs
Using the zerotier IP, which is the same as the knife-zero host.
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user