Bug 1313328

Summary: [GSS](6.2.z) Not able to claim human task through Remote REST API's.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Abhijit humbe <abhumbe>
Component: Business CentralAssignee: Maciej Swiderski <mswiders>
Status: CLOSED NOTABUG QA Contact: Lukáš Petrovický <lpetrovi>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.2.0CC: kverlaen, lpetrovi, mrietvel, rsynek
Target Milestone: ---   
Target Release: 6.2.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1312742 Environment:
Last Closed: 2016-04-25 13:29:08 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: 1312742    
Bug Blocks: 1327765    

Description Abhijit humbe 2016-03-01 12:12:37 UTC
+++ This bug was initially created as a clone of Bug #1312742 +++

Description of problem:
If human task is assigned to group(Group1) and user "User1" is part of Group1. User1 is able to claim and complete human task through console without any issue. But it fails with permission denied exception when we try to claim task through Remote REST API. It fails with same exception with /execute endpoint as well.

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


How reproducible:


Steps to Reproduce:
1. Create process with Human Task which is assigned to Group. 
2. Start process and try to claim Task which is part of assigned Group, through Remote REST API or through /execute endpoint.
3. It fails with exception:
~~~
PermissionDeniedException thrown with message 'User '[UserImpl:'User1']' does not have permissions to execute operation 'Claim' on task id 15
~~~

Actual results:
User is not able to claim task through Remote REST API or through /execute endpoint.

Expected results:
User should be able to claim task through Remote REST API or through /execute endpoint.

Additional info:

--- Additional comment from JBoss Product and Program Management on 2016-02-29 02:30:07 EST ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 2 Marco Rietveld 2016-03-02 12:51:59 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1312742#c2

Comment 3 Kris Verlaenen 2016-03-16 15:15:31 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1312742#c6
This is actually working as expected.

Comment 4 Maciej Swiderski 2016-04-25 13:29:08 UTC
as described in comment #3 it does work as expected so closing as not a bug