Description of problem:
As analyst, I can build and deploy the project&Process.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Go to Authoring->Project Authoring as analyst.
2.Design a new process and try to build and deploy it.
Any one can build and deploy the project/process
There is permission control on the build/deploy project.
Created attachment 923203 [details]
permission need control
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!
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.
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).
Verified on BPMS 6.1.0 DR3
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.
Maciej, it seems your build menu change might have interfered with this feature?
correct, it was missing feature but now it's added back
Verified on BPMS 6.1.0 ER4