Bug 1391097 - Error on deselecting checkbox "Connect Automatically"
Summary: Error on deselecting checkbox "Connect Automatically"
Keywords:
Status: CLOSED DUPLICATE of bug 1389251
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.UserPortal
Version: 4.0.5.5
Hardware: Unspecified
OS: Unspecified
unspecified
high vote
Target Milestone: ---
: ---
Assignee: Ravi Nori
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 14:38 UTC by Andrei Stepanov
Modified: 2016-11-03 15:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 15:15:01 UTC
oVirt Team: Infra
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)
screenshot (50.93 KB, image/png)
2016-11-02 14:44 UTC, Andrei Stepanov
no flags Details
Info about user (276.65 KB, image/jpeg)
2016-11-03 12:40 UTC, Andrei Stepanov
no flags Details

Description Andrei Stepanov 2016-11-02 14:38:55 UTC
Each login to user a portal causes an auto-connection to a VM.

ovirt-engine-4.0.5.5-0.1.el7ev.noarch

How reproducible: always.

1. Have a running VM.
2. Authenticate to user-portal.
3. .vv file will be proposed for opening.
(we need to turn this off)
4. Click on user name at the upper-right corner of the UserPortal.
5. Click options.
6. Remove checkbox from: "Connect Automatically".
7. Try to save changes.

Got pop-up window with: Operation canceled.
Error while executing action: User is not authorized to perform this action.

See attached screenshot.

engine log:

2016-11-02 15:04:52,050 INFO  [org.ovirt.engine.core.bll.AddUserProfileCommand] (default task-23) [57181abf] No permission found for user '02724e6a-c935-4d46-858f-17a270c8ca04' or one of the groups he is member of, when running action 'AddUserProfile', Required permissions are: Action type: 'USER' Action group: 'EDIT_PROFILE' Object type: 'System'  Object ID: '02724e6a-c935-4d46-858f-17a270c8ca04'.
2016-11-02 15:04:52,051 WARN  [org.ovirt.engine.core.bll.AddUserProfileCommand] (default task-23) [57181abf] Validation of action 'AddUserProfile' failed for user auto.redhat.com-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__USER_PROFILE,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION

Comment 1 Andrei Stepanov 2016-11-02 14:44:51 UTC
Created attachment 1216588 [details]
screenshot

Comment 2 Martin Perina 2016-11-03 08:04:13 UTC
Ravi, could you please take a look?

Comment 3 Ravi Nori 2016-11-03 12:23:51 UTC
Can you provide me with addition details about the user. Whether he is an active directory user, did the user authenticate using group permissions and what the permissions for the group are

Comment 4 Andrei Stepanov 2016-11-03 12:40:44 UTC
Created attachment 1216951 [details]
Info about user

Comment 5 Andrei Stepanov 2016-11-03 12:42:15 UTC
Ravi Nori see attachment https://bugzilla.redhat.com/attachment.cgi?id=1216951

User is IPA account. This user logins in portal using "spiceqe" group permissions.

Comment 6 Ravi Nori 2016-11-03 15:15:01 UTC

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


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