Window Toolbar attached processes are doesn't validate role access

Description

Hi, we have tested 7.1 and found toolbar attached processes don't validate role access.

suggested behaviour: processed attached to the toolbar must consider logged in user role access definition.

norbertbede toolbar button access define buttons visibility i suppose. we have in this case a specific button - not in scope of toolbar. for me that means gear icon must be controlled by role. carlosruiz 18:08 yes - I think process access is required - toolbar button access is additional

Environment

tested 3.1 & 7.1

Activity

Show:

Carlos Ruiz September 20, 2020 at 12:31 PM

Test case reproducible in vanilla GardenWorld:

  • Role=GardenWorld User

  • Window=View Allocation

  • Button=Reset Allocation Direct

  • Executing the button throws -> You cannot access process [Reset Allocation Direct] with your role : GardenWorld User

Igor Pojzl September 16, 2020 at 12:54 PM

Created PR, added Role check on ToolbarButtons added from Columns. (AD_Column, Type:Button, IsToolbarButton = 'Y')

Norbert Bede September 16, 2020 at 11:47 AM

can’t be - it was reproduced in 7.1z - preparing PR.

Nicolas Micoud September 16, 2020 at 11:46 AM

Hi,
my2cents : should have been fixed via https://idempiere.atlassian.net/browse/IDEMPIERE-2275

Norbert Bede September 16, 2020 at 11:41 AM

Fixed

Details

Assignee

Reporter

Components

Priority

Created March 18, 2020 at 11:59 AM
Updated August 1, 2021 at 11:45 AM
Resolved June 30, 2021 at 5:54 PM

Flag notifications