Bug 1125905 - [Admin] No permission control on the build project.
Summary: [Admin] No permission control on the build project.
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: ER4
: 6.1.0
Assignee: Marco Rietveld
QA Contact: Lukáš Petrovický
Depends On:
TreeView+ depends on / blocked
Reported: 2014-08-01 10:10 UTC by yuli wang
Modified: 2020-03-27 20:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2020-03-27 20:02:25 UTC
Type: Enhancement

Attachments (Terms of Use)
permission need control (125.86 KB, image/png)
2014-08-01 10:10 UTC, yuli wang
no flags Details

Description yuli wang 2014-08-01 10:10:05 UTC
Description of problem:
As analyst, I can build and deploy the project&Process.

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

How reproducible:

Steps to Reproduce:
1.Go to Authoring->Project Authoring as analyst.
2.Design a new process and try to build and deploy it.

Actual results:
Any one can build and deploy the project/process

Expected results:
There is permission control on the build/deploy project.

Additional info:

Comment 1 yuli wang 2014-08-01 10:10:31 UTC
Created attachment 923203 [details]
permission need control

Comment 3 Marek Winkler 2014-08-01 10:44:30 UTC
I actually believe this is expected behaviour (analyst can build and deploy), see analyst role description from web.xml:

Analyst - Responsible for creating and designing processes
      into the system. Creates process flows and handles
      process change requests. Needs to test processes that
      they create. Also creates forms and dashboards.

Kris, please correct me, if I am wrong, thanks!

Comment 6 cory 2014-08-04 02:23:59 UTC
We just need a mechanism so that we can customize the permissions(save,delete,cpoy.rename,buildanddeploy). So, i will let analyst can build and deploy.

Comment 9 manstis 2014-08-05 09:18:33 UTC
The changes add role based permissions to the operations on the Project Editor screen (Save, Rename, Copy, Delete and Build&Deploy). The roles are defined in workbench-policy.properties (as are the permissions for the Home page etc). Default permissions grant all operations to all roles (i.e. no visible change to users).

Comment 10 Tomas Livora 2014-10-06 13:23:27 UTC
Verified on BPMS 6.1.0 DR3

Comment 11 cory 2014-12-10 04:45:07 UTC
In last version of master, we can not control Build&Deploy use KieAcl.

I find some change in here (https://github.com/droolsjbpm/kie-wb-common/blob/6.2.0.CR3/kie-wb-common-screens/kie-wb-common-project-editor/kie-wb-common-project-editor-client/src/main/java/org/kie/workbench/common/screens/projecteditor/client/editor/ProjectScreenPresenter.java#L343)

in this place , i can not use withRoles method.

Comment 12 Kris Verlaenen 2014-12-10 13:50:08 UTC
Maciej, it seems your build menu change might have interfered with this feature?

Comment 13 Maciej Swiderski 2014-12-12 17:17:14 UTC
correct, it was missing feature but now it's added back



Comment 14 Tomas Livora 2015-01-26 15:02:12 UTC
Verified on BPMS 6.1.0 ER4

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