Revision dafbc5d3 src/pool/PoolSQL.cc

View differences:

src/pool/PoolSQL.cc
593 593

  
594 594
    vector<int> oids;
595 595
    vector<int> gids;
596
    vector<int> cids;
596 597

  
597 598
    aclm->reverse_search(uid,
598 599
                         gid,
......
600 601
                         AuthRequest::USE,
601 602
                         all,
602 603
                         oids,
603
                         gids);
604
                         gids,
605
                         cids);
604 606

  
605 607
    for ( it = oids.begin(); it < oids.end(); it++ )
606 608
    {
......
612 614
        acl_filter << " OR gid = " << *it;
613 615
    }
614 616

  
617
    for ( it = cids.begin(); it < cids.end(); it++ )
618
    {
619
        acl_filter << " OR cid = " << *it;
620
    }
621

  
615 622
    filter = acl_filter.str();
616 623
}
617 624

  

Also available in: Unified diff