Bug 953043

Summary: [userportal] TemplateOwner can't edit template and add/edit vnic in userportal.
Product: Red Hat Enterprise Virtualization Manager Reporter: Ondra Machacek <omachace>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bazulay, bsettle, ecohen, emesika, gklein, iheim, lpeer, masayag, oourfali, rbalakri, Rhev-m-bugs, yeylon, yzaslavs
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: vt1.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:10:24 UTC 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    
Attachments:
Description Flags
edit_template_dialog none

Description Ondra Machacek 2013-04-17 08:49:04 UTC
Description of problem:
When user have direct TemplateOwner role on template, he can't edit template in UserPortal and also can't add/edit vnic of template.

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

How reproducible:
always

Steps to Reproduce:
1. As admin create temaplate.
2. Add TemplateOwner role on template for user1.
3. Login as user1 to UserPortal, and try to add/edit vnic.
  
Actual results:
'New' and 'Edit' buttons are disabled.

Expected results:
'New' and 'Edit' buttons are enabled.

Additional info:
Works ok in user level api.

Comment 1 Ondra Machacek 2013-04-17 08:51:45 UTC
Created attachment 736723 [details]
edit_template_dialog

Comment 2 Ondra Machacek 2013-04-17 09:24:06 UTC
In user level api if user have TemplateOwner role on template directly, then he can't see cluster in which the template is. Not sure if it is related to this bz.

Comment 4 Ondra Machacek 2014-08-14 09:44:27 UTC
OK, user can add/edit template nic.

Comment 5 Eyal Edri 2015-02-17 17:10:24 UTC
rhev 3.5.0 was released. closing.