feat(xo-acl-resolver): allow ACLs on VM snapshots (#3480)

Related to #3443
This commit is contained in:
badrAZ 2018-10-02 13:33:26 +02:00 committed by Julien Fontanet
parent d022b40732
commit 5a71ab53be
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
### Released packages
- xo-acl-resolver v0.3.0
- xo-server v5.28.0
- xo-web v5.28.0

View File

@ -86,7 +86,7 @@ const checkAuthorizationByTypes = {
'VM-controller': checkMember('$container'),
'VM-snapshot': checkMember('$snapshot_of'),
'VM-snapshot': or(checkSelf, checkMember('$snapshot_of')),
'VM-template': or(checkSelf, checkMember('$pool')),
}