mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-25 23:21:29 +03:00
Feature #1112: New default ACL rule, to allow any user to use any datastore
This commit is contained in:
parent
b0063c0f80
commit
6bf0f08b9b
@ -87,6 +87,15 @@ AclManager::AclManager(SqlDB * _db) : db(_db), lastOID(-1)
|
||||
PoolObjectSQL::HOST,
|
||||
AuthRequest::MANAGE,
|
||||
error_str);
|
||||
|
||||
// Users in USERS can use any DATASTORE
|
||||
// @1 DATASTORE/* USE
|
||||
add_rule(AclRule::GROUP_ID |
|
||||
1,
|
||||
AclRule::ALL_ID |
|
||||
PoolObjectSQL::DATASTORE,
|
||||
AuthRequest::USE,
|
||||
error_str);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user