mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #3381: Change default group acl rule to match the one for new groups
(cherry picked from commit b09e87314f0d0ffb9d29e0b798a9fa6377b0f875)
This commit is contained in:
parent
9f66b79f19
commit
da7b29738e
@ -83,19 +83,17 @@ AclManager::AclManager(
|
||||
string error_str;
|
||||
|
||||
// Users in group USERS can create standard resources
|
||||
// @1 VM+NET+IMAGE+TEMPLATE+DOCUMENT/* CREATE #<local-zone>
|
||||
// @1 VM+IMAGE+TEMPLATE+DOCUMENT/* CREATE *
|
||||
add_rule(AclRule::GROUP_ID |
|
||||
1,
|
||||
AclRule::ALL_ID |
|
||||
PoolObjectSQL::VM |
|
||||
PoolObjectSQL::NET |
|
||||
PoolObjectSQL::IMAGE |
|
||||
PoolObjectSQL::TEMPLATE |
|
||||
PoolObjectSQL::DOCUMENT |
|
||||
PoolObjectSQL::SECGROUP,
|
||||
AuthRequest::CREATE,
|
||||
AclRule::INDIVIDUAL_ID |
|
||||
zone_id,
|
||||
AclRule::ALL_ID,
|
||||
error_str);
|
||||
|
||||
// * ZONE/* USE *
|
||||
|
Loading…
x
Reference in New Issue
Block a user