+++ This bug was initially created as a clone of Bug #1152989 +++
Description of problem:
Currently, If we want to add the role "UserVmManager" to a group we need to get the Id of that role first.
Current API:
<permission>
<role id="00000000-0000-0000-0000-000000000001" />
<group id="abee5751-3857-46dd-abaa-03f57bca2e86"/>
</permission>
I would like to directly use the role name:
<permission>
<role><name>UserVmManager</name></role>
<group id="abee5751-3857-46dd-abaa-03f57bca2e86"/>
</permission>
with most other resource references this already works, For example,
network can be referenced by id or by name: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html-single/Technical_Guide/index.html#sect-Networks_Sub-Collection
why not roles than?