Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039078Openbravo ERPA. Platformpublic2018-08-01 13:342022-02-01 08:08
alostale 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0039078: make it possible to differentiate whether processes should be executable on non writable organizations
Currently process buttons in generated windows are executable regardless the organization the record is in. For example a role with write access to only F&B US East Coast organization and access to Sales Order window is able to execute actions on records defined in F&B US although those records are seen as read only.

Depending on the concrete process this behavior might or not make sense. Currently those processes where it should not be allowed, must check it and fail if executed for a non-writable organization. But there is no way to make explicit in the UI whether the process should or not be executed.
-
Add a new flag to Process (and Process Definition) with two possible values:
1. "Does not require Organization write access" (default value to keep backwards compatibility)
The behavior of these processes will be current one: enabled for all records that can be seen regardless they are writable or not.

2. "Requires Organization write access"
These buttons will be disabled in records that belonging to the natural tree of writable organizations, are not in a writable one.

Note this change will not affect visualization of buttons is read-only windows: they will continue being visible applying these new rules.
No tags attached.
related to defect 0038800 closed jarmendariz It is possible to see the button action for records that are in read only (no access) 
Issue History
2018-08-01 13:34alostaleNew Issue
2018-08-01 13:34alostaleAssigned To => platform
2018-08-01 13:34alostaleModules => Core
2018-08-01 13:34alostaleTriggers an Emergency Pack => No
2018-08-01 13:34alostaleStatusnew => acknowledged
2018-08-01 13:34alostaleRelationship addedrelated to 0038800
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.