core: Views for handling query permissions
core: Views for handling query permissions

Each view gives a flat set of user IDs and the objects of that type
he has permissions on, either directly or indirectly.

Change-Id: Ife9f63d9fde492d32a95e612aba2d9e9aca9a112

yingyun001/ovirt-engine,yapengsong/ovirt-engine,Dhandapani/gluster-ovirt,halober/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,Dhandapani/gluster-ovirt,derekhiggins/ovirt-engine,Dhandapani/gluster-ovirt,Dhandapani/gluster-ovirt,zerodengxinchao/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,derekhiggins/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,Dhandapani/gluster-ovirt,derekhiggins/ovirt-engine,eayun/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,halober/ovirt-engine,derekhiggins/ovirt-engine,walteryang47/ovirt-engine,OpenUniversity/ovirt-engine,walteryang47/ovirt-engine