mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-13 12:58:17 +03:00
B #5022: Restore original permissions to chgrp operation
This commit is contained in:
parent
3db12aee18
commit
22f90e98c4
@ -485,8 +485,8 @@ void UserChown::request_execute(xmlrpc_c::paramList const& paramList,
|
||||
{
|
||||
AuthRequest ar(att.uid, att.group_ids);
|
||||
|
||||
ar.add_auth(auth_op, uperms); // MANAGE USER
|
||||
ar.add_auth(AuthRequest::MANAGE, ngperms);// MANAGE GROUP
|
||||
ar.add_auth(auth_op, uperms); // MANAGE USER
|
||||
ar.add_auth(AuthRequest::USE, ngperms); // USE GROUP
|
||||
|
||||
if (UserPool::authorize(ar) == -1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user