]
Daniele Zonca updated DROOLS-4638:
----------------------------------
Labels: ScenarioSimulation (was: )
A user without write permission is able to make changes in test
scenario assets via settings
--------------------------------------------------------------------------------------------
Key: DROOLS-4638
URL:
https://issues.jboss.org/browse/DROOLS-4638
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Reporter: Guilherme Caponetto
Assignee: Daniele Zonca
Priority: Major
Labels: ScenarioSimulation
Attachments: Screenshot from 2019-10-10 15-00-58.png
A user without write permission is able to make changes in test scenario assets via
settings
Check the code ScenarioEditorPresenter#makeMenuBar in drools-wb. The save button in the
menu bar is only added if the user can update the project. Similarly, it should be done
for the save button in the settings dock as well.