Ravi Nori has posted comments on this change.

Change subject: core : TemplateOwner can't edit template and add/edit vnic in 
userportal.
......................................................................


Patch Set 1:

The stored procedure GetAllEntitiesUserHasPermissionsOn gets the groups of the 
user and gets the parents of the entity passed using fn_get_entity_parents. 

So in effect we get all the parent entities on which the user has permissions 
on.

The GetVdsGroupByIdAndAdElementId simply check if the user has permission on 
the vds_group being requested using GetAllEntitiesUserHasPermissionsOn

The view user_vds_groups_permissions does not check parent permissions.

-- 
To view, visit http://gerrit.ovirt.org/29475
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I724187757513965ba6557d9d94ce7d3857a521a4
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Ravi Nori <rn...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to