Bug 988655

Summary: delegate not in user's group can't modify the group job submitted by itself on the user’s behalf
Product: [Retired] Beaker Reporter: wangjing <jingwang>
Component: web UIAssignee: beaker-dev-list
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: high Docs Contact:
Priority: high    
Version: developCC: aigao, asaha, dcallagh, llim, qwan, rmancy, xjia
Target Milestone: 0.14   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 03:24:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 960302    

Description wangjing 2013-07-26 05:09:05 UTC
Description of problem:
delegate not in user's group can't modify the group job submitted by itself on the user’s behalf

Version-Release number of selected component (if applicable):
beaker-devel env Version - 0.13.2(20130724)


How reproducible:
always

Steps to Reproduce:
1. delegate1 is a submission delegate of user1.
2. user1 is in group1, but delegate1 is not.
3. delegate1  submit a group1 job1 on the user1’s behalf.
4. delegate1 try to modify the group job1.

Actual results:
delegate1 can't modify group job1 that submitted by itself.

Expected results:
delegate1 has the privilege to modify group job1.

Additional info:

Comment 2 wangjing 2013-07-26 06:26:05 UTC
supplement for comment0:
'modify the job' means: cancel/delete, and modify the tag, product, whiteboard, etc.

thanks!

Comment 3 Raymond Mancy 2013-07-26 07:06:07 UTC
http://gerrit.beaker-project.org/#/c/2123/

Comment 6 wangjing 2013-07-29 03:44:05 UTC
verified on beaker-devel(2013-7-28)-->pass
step:
1. delegate1 is a submission delegate of user1.
2. user1 is in group1, but delegate1 is not.
3. delegate1  submit a group1 job1 on the user1’s behalf.
4. delegate1 try to modify the group job1.

Actual results:
delegate1 has the privilege to modify group job1 which means: cancel/delete, and modify the tag, product, whiteboard, etc.


Expected results:
same with actual result.

Comment 7 Dan Callaghan 2013-08-09 03:24:38 UTC
Beaker 0.14.1 has been released.