Bug 1049290

Summary: All commits are done as admin user
Product: [Retired] JBoss BPMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: jBPM DesignerAssignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: alazarot, hfuruich, kverlaen, lpetrovi, mbaluch, rrajasek, smala
Target Milestone: ER1   
Target Release: 6.0.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Cause: When saving a Business Process in the jBPM Designer, the underlying Git commit is done as user 'admin', even if there is no such user. Consequence: When dealing with conflicts, the error pop-up says: 'User admin has updated the following resource ...' no matter which user actually made the change and saved. Workaround (if any): None. Result: There is no way to determine which user made which change on a Business Process through the jBPM Designer.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:02:44 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: 983634    

Description Zuzana Krejčová 2014-01-07 10:59:50 UTC
Description of problem:
All commits, in the Designer, are done as admin user. Even if there is no such user. For the business user, working with the GUI, this is especially annoying when dealing with conflicts, as the error pop-up says:
'User admin has updated the following resource ...'
.. no matter which user actually made the change and saved. 


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

Comment 1 Alessandro Lazarotti 2014-01-13 18:23:55 UTC
This is not only annoying business users. This message should not appear even for users which has the admin role. No make sense for admin users an *Error* message saying "User admin has updated the following resource ..." if he is that admin user.

Comment 2 Zuzana Krejčová 2014-01-15 11:42:53 UTC
(In reply to Alessandro Lazarotti from comment #1)
> This is not only annoying business users. This message should not appear
> even for users which has the admin role. No make sense for admin users an
> *Error* message saying "User admin has updated the following resource ..."
> if he is that admin user.

Just to clarify, in this case, 'admin' is not a role but a user name/login.

That these messages are presented as Error, that's another issue, not only in Designer (it's already on my TODO list to report it). And the fact that this happens also for user admin is yet another issue (which might have been reported already, not sure though).

The problem reported here (but perhaps not described well enough) is that, even if I am logged in as user 'zkrejcov', if I save a process in Designer, the underlying commit is done as user 'admin'. That error message simply reflects it.

Comment 4 Tihomir Surdilovic 2014-01-15 18:56:26 UTC
fixed in designer master and 6.0.x branches