feat(xo-acl-resolver): allow ACLs on VM snapshots (#3480)
Related to #3443
This commit is contained in:
parent
d022b40732
commit
5a71ab53be
@ -12,6 +12,7 @@
|
||||
|
||||
### Released packages
|
||||
|
||||
- xo-acl-resolver v0.3.0
|
||||
- xo-server v5.28.0
|
||||
- xo-web v5.28.0
|
||||
|
||||
|
@ -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')),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user