mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Feature #862: Move the INFO rigth reverse search to the 'one* list g' command
This commit is contained in:
parent
d3081e4cb6
commit
f7d48627ee
@ -90,6 +90,10 @@ void RequestManagerPoolInfoFilter::request_execute(
|
||||
break;
|
||||
|
||||
case ALL:
|
||||
request_op = AuthRequest::INFO_POOL;
|
||||
break;
|
||||
|
||||
case MINE_GROUP:
|
||||
if ( att.uid == 0 || att.gid == 0 )
|
||||
{
|
||||
all = true;
|
||||
@ -118,16 +122,6 @@ void RequestManagerPoolInfoFilter::request_execute(
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: not sure if INFO_POOL or INFO_POOL_MINE
|
||||
// request_op = AuthRequest::INFO_POOL;
|
||||
request_op = AuthRequest::INFO_POOL_MINE;
|
||||
break;
|
||||
|
||||
case MINE_GROUP:
|
||||
|
||||
uid_filter << "uid = " << att.uid << " OR "
|
||||
<< "gid = " << att.gid;
|
||||
|
||||
request_op = AuthRequest::INFO_POOL_MINE;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user