From f7d48627eeeea9ca4166b6901b9f92e2a04305cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 2 Dec 2011 13:30:38 +0100 Subject: [PATCH] Feature #862: Move the INFO rigth reverse search to the 'one* list g' command --- src/rm/RequestManagerPoolInfoFilter.cc | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/rm/RequestManagerPoolInfoFilter.cc b/src/rm/RequestManagerPoolInfoFilter.cc index af9afe40fc..25e604c75a 100644 --- a/src/rm/RequestManagerPoolInfoFilter.cc +++ b/src/rm/RequestManagerPoolInfoFilter.cc @@ -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;