Bug 1125905
| Summary: | [Admin] No permission control on the build project. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | yuli wang <yulwang> | ||||
| Component: | Business Central | Assignee: | Marco Rietveld <mrietvel> | ||||
| Status: | CLOSED EOL | QA Contact: | Lukáš Petrovický <lpetrovi> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.1 | CC: | kverlaen, manstis, mbaluch, mwinkler, rzhang, xiabai | ||||
| Target Milestone: | ER4 | ||||||
| Target Release: | 6.1.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-03-27 20:02:25 UTC | Type: | Enhancement | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
yuli wang
2014-08-01 10:10:05 UTC
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 kie-wb-common master: https://github.com/droolsjbpm/kie-wb-common/commit/305406d255a66c13e543e51c320c1b8cdad49bfb 6.2.x: https://github.com/droolsjbpm/kie-wb-common/commit/83145e9a5b1aa52c7fa6b75851515dca2aafb3b3 Verified on BPMS 6.1.0 ER4 |