Bug 1595285 - VM Portal fails to list available network profiles for any non-admin user when QoS is defined
Summary: VM Portal fails to list available network profiles for any non-admin user whe...
Keywords:
Status: CLOSED DUPLICATE of bug 1654442
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.3.1
: ---
Assignee: Dominik Holler
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-26 13:45 UTC by biakymet
Modified: 2019-02-07 21:07 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-07 10:47:00 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)
Engine log (1.21 KB, text/plain)
2018-06-26 13:45 UTC, biakymet
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 96145 0 master ABANDONED core: Allow users to get all GetAllQosByType 2019-02-07 10:46:41 UTC

Description biakymet 2018-06-26 13:45:20 UTC
Created attachment 1454672 [details]
Engine log

Description of problem:
When I try to get vNIC Profiles with UserRole through RestAPI it return "insufficient permissions". I have VnicProfileUser permissions. 

Version-Release number of selected component (if applicable):
Version 4.2.4.5-0.1.el7_3

How reproducible:
Everytime

Steps to Reproduce:
Send request as simple user:
https://<ENGINE_URL>/ovirt-engine/api/vnicprofiles

Header:
Filter: true

Actual results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fault>
    <detail>query execution failed due to insufficient permissions.</detail>
    <reason>Operation Failed</reason>
</fault>

Expected results:
List of vNIC Profiles

Comment 1 Michal Skrivanek 2018-06-26 16:23:03 UTC
the important detail missing in the bug description is that it's the GetAllQosByTypeQuery failing, because it's not defined as a user query. It will fail on all setups where QoS is defined

Comment 2 Dominik Holler 2019-02-07 10:47:00 UTC

*** This bug has been marked as a duplicate of bug 1654442 ***


Note You need to log in before you can comment on or make changes to this bug.