Bug 1020172

Summary: When adding new domain with -addPermissions param, it add permissions also for all other domains which are already added without -addPermissions param.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engine-configAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: medium Docs Contact:
Priority: urgent    
Version: 3.3.0CC: aberezin, acathrow, bazulay, emesika, iheim, obasan, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1032811    
Attachments:
Description Flags
manage-domains-log none

Description Ondra Machacek 2013-10-17 08:06:42 UTC
Created attachment 813224 [details]
manage-domains-log

Description of problem:
If there are in system domains which was not added with -addPermissions param.
Then if we add another domain with -addPermissions param, it also add permissions
for users from all other domains.

Version-Release number of selected component (if applicable):
is18

How reproducible:
always

Steps to Reproduce:
1. Add first domain without -addPermissions param
 rhevm-manage-domains -action=add -domain=rhds.com -user=my_admin -interactive
 -provider=RHDS
2. Add second domain with -addPermissions param
 rhevm-manage-domains -action=add -domain=openldap.com -user=my_admin 
 -interactive -addPermissions -provider=OpenLDAP

Actual results:
Permissions for my_admin are added and also permissions for
my_admin are added.

Expected results:
Only permissions for my_admin are added.

Additional info:

Comment 1 Ondra Machacek 2013-11-11 15:08:15 UTC
Ok in is22.
Permissions are added only for user from domain we are working with.

Comment 2 Juan Hernández 2013-11-13 13:36:49 UTC
*** Bug 1017784 has been marked as a duplicate of this bug. ***

Comment 3 Itamar Heim 2014-01-21 22:21:16 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:26:41 UTC
Closing - RHEV 3.3 Released