Description of problem: Two use cases: 1. User adds a domain with no "-addPermissions" - The message he gets is: "The domain example.com has been added to the engine as an authentication source but no users from that domain have been granted permissions within the oVirt Manager. Users from this domain can be granted permissions from the Web administration interface." I suggest to elaborate here and add it is possible to edit the domain and addPermissions (with action=edit and -addPermissions") 2. User adds a domain with "-addPermissions" After that , let's say the user needs to change password, he uses action=edit, but without addPermissiosn (as they were already added) . The user gets the same message from above, but this is incorrect, as there is a user from the domain with associated permissions. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Verified on sf-10: case 1) [root@istein-32 ~]# rhevm-manage-domains -action=add -domain=qa.lab.tlv.redhat.com -user=vdcadmin -interactive -provider=activeDirectory Enter password: The domain qa.lab.tlv.redhat.com has been added to the engine as an authentication source but no users from that domain have been granted permissions within the oVirt Manager. Users from this domain can be granted permissions from the Web administration interface or by editing the domain using -action=edit and specifying -addPermissions. oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart). Manage Domains completed successfully [root@istein-32 ~]# service ovirt-engine restart Stopping engine-service: [ OK ] Starting engine-service: [ OK ] [root@istein-32 ~]# rhevm-manage-domains -action=edit -domain=qa.lab.tlv.redhat.com -user=vdcadmin -interactive -provider=activeDirectory -addPermissions Enter password: Successfully added domain qa.lab.tlv.redhat.com. oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart). Manage Domains completed successfully case 2) [root@istein-32 ~]# rhevm-manage-domains -action=add -domain=qa.lab.tlv.redhat.com -user=vdcadmin -interactive -provider=activeDirectory -addPermissions Enter password: Successfully added domain qa.lab.tlv.redhat.com. oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart). Manage Domains completed successfully [root@istein-32 ~]# service ovirt-engine restart Stopping engine-service: [ OK ] Starting engine-service: [ OK ] [root@istein-32 ~]# rhevm-manage-domains -action=edit -domain=qa.lab.tlv.redhat.com -user=vdcadmin -interactive -provider=activeDirectory Enter password: oVirt Engine restart is required in order for the changes to take place (service ovirt-engine restart). Manage Domains completed successfully
3.2 has been released