Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1784398

Summary: System permissions to user can not be added
Product: [oVirt] ovirt-engine Reporter: Radek Duda <rduda>
Component: Frontend.WebAdminAssignee: Sharon Gratch <sgratch>
Status: CLOSED CURRENTRELEASE QA Contact: Ivana Saranova <isaranov>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, lleistne, michal.skrivanek, rdlugyhe, rszwajko, sgratch
Target Milestone: ovirt-4.4.0Keywords: Regression
Target Release: ---Flags: pm-rhel: ovirt-4.4+
pm-rhel: blocker?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.0-29 Doc Type: Bug Fix
Doc Text:
Previously, because of a UI regression bug in the Administration Portal, you could not add system permissions to a user. For example, clicking *Add System Permissions*, selecting a *Role to assign*, and clicking *OK* did not work. The current release fixes so you can add system permissions to a user.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:03:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot "Add System Permissions"
none
Add role in Eolie browser none

Description Radek Duda 2019-12-17 11:10:26 UTC
Created attachment 1645848 [details]
screenshot "Add System Permissions"

Description of problem:
I can not add system permission to user in RHV4.4

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.0-0.9.master.el7.noarch
ovirt-engine-webadmin-portal-4.4.0-0.9.master.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. In rhv4.4 admin portal go to Administrator -> Users -> select user -> click "Add System Permissions" button 
2. Select "Role to assign"
3. Hit "OK" button

Actual results:
nothing happens

Expected results:
System permissions are added to user account

Additional info:
"Role to assign" user dialog is also somehow flattened (see attachment)

Comment 12 Radek Duda 2019-12-18 11:31:15 UTC
You are right Michal. Redirecting to upstream.

Comment 13 Radek Duda 2020-01-03 16:38:00 UTC
Created attachment 1649458 [details]
Add role in Eolie browser

Update:
I tried to add  user permission using Eolie browser (since Firefox does not display bottom of the dialog window). Web interface probably does not recognize role is already selected. There is a label 'Please select a role' even thou a role(s) is(are) vividly selected.

Comment 14 Lukas Svaty 2020-03-24 12:32:15 UTC
Targetting to 4.4.0 per Regression keyword.

Comment 15 RHEL Program Management 2020-03-24 12:32:22 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 18 rszwajko 2020-03-27 17:55:44 UTC
Regression was introduced in https://bugzilla.redhat.com/1725003 due to non-standard usage.

Comment 20 Ivana Saranova 2020-04-07 23:11:28 UTC
Steps:
1. Go to 'Administration' -> 'Users' -> selected user detail -> 'Permissions' -> click 'Add System Permissions'
2. Select roles
3. Hit "OK" button

Result:
Roles are added to the user.

Verified in:
ovirt-engine-4.4.0-0.31.master.el8ev.noarch
ovirt-engine-webadmin-portal-4.4.0-0.31.master.el8ev.noarch

Comment 21 Sandro Bonazzola 2020-05-20 20:03:26 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.