Bug 1069562 - When assigning permissions to user that belongs to a group indirectly, it does not inherit the group permissions
Summary: When assigning permissions to user that belongs to a group indirectly, it doe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: 3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.4.1
Assignee: Oved Ourfali
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-25 09:50 UTC by Ondra Machacek
Modified: 2014-05-08 13:36 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-08 13:36:34 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26350 0 None MERGED core: populate groups when getting users by ids Never

Description Ondra Machacek 2014-02-25 09:50:25 UTC
Description of problem:
When assigning permissions to user that belongs to a group, it does not inherit the group permissions.

Version-Release number of selected component (if applicable):
ovirt-3.4.0-beta3

How reproducible:
always

Steps to Reproduce:
1. Add group to system and assign it some permisisons.
2. Assign some permissions to user(which is not yet in system) on some object,
   user have to be part of group added in step1.

Actual results:
user don't inherit permissions from group

Expected results:
user inherit permissions from group

Additional info:
bug 1065615

Comment 1 Itamar Heim 2014-03-02 05:42:39 UTC
Setting target release to current version for consideration and review. please
do not push non-RFE bugs to an undefined target release to make sure bugs are
reviewed for relevancy, fix, closure, etc.

Comment 2 Sandro Bonazzola 2014-03-04 09:26:53 UTC
This is an automated message.
Re-targeting all non-blocker bugs still open on 3.4.0 to 3.4.1.

Comment 3 Yair Zaslavsky 2014-03-25 08:59:02 UTC
The difference between the two bugs is that in BZ1065615 AddUserCommand is called.
In this bug, AddPermission is called, and in turn it calls AddUserCommand as internal command.

Comment 4 Oved Ourfali 2014-04-02 08:25:02 UTC
It didn't reproduce for me in latest ovirt-engine-3.4 code, but I did encounter an issue with the hierarchy of groups. The problem I saw is that direct membership in groups works well, but indirect ones (me belonging to a group that's part of another group), doesn't work. Changing the title of this bug.

Comment 5 Sandro Bonazzola 2014-05-08 13:36:34 UTC
This is an automated message

oVirt 3.4.1 has been released:
 * should fix your issue
 * should be available at your local mirror within two days.

If problems still persist, please make note of it in this bug report.


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