Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025720Openbravo ERPA. Platformpublic2014-02-13 11:502014-02-19 15:12
eduardo_Argal 
alostale 
highmajoralways
closedfixed 
5
 
3.0PR14Q23.0PR14Q2 
AugustoMauch
Core
No
0025720: Adds configuration option for processes to explicitly require permissions to be able to execute it
When a role has access to a window, it does inherit permissions for embedded buttons. Now this behavior can be skipped using a preference that forces to define specific privileges to all buttons within that window (secured preference)
This is in fact a pain, more even if we think in modularity as to be able to attend a particular exception we need to modify behavior of all buttons in a screen.
To avoid that it would be nice to be able to flag a process as "explicit permission required". This means that we can treat separately the behavior of exception instead of doing it the other way around.
That button/process then will not be usable if you do not have an explicit privilege/permission while rest of buttons will work as before
To avoid that it would be nice to be able to flag a process as "explicit permission required". This means that we can treat separately the behavior of exception instead of doing it the other way around.
That button/process then will not be usable if you do not have an explicit privilege/permission while rest of buttons will work as before
To avoid that it would be nice to be able to flag a process as "explicit permission required". This means that we can treat separately the behavior of exception instead of doing it the other way around.
That button/process then will not be usable if you do not have an explicit privilege/permission while rest of buttons will work as before
No tags attached.
related to defect 0025709 closed AugustoMauch SecuredProcess preference not working as expected in some conditions 
Issue History
2014-02-13 11:50eduardo_ArgalNew Issue
2014-02-13 11:50eduardo_ArgalAssigned To => AugustoMauch
2014-02-13 11:50eduardo_ArgalModules => Core
2014-02-13 11:50eduardo_ArgalTriggers an Emergency Pack => No
2014-02-17 13:43alostaleAssigned ToAugustoMauch => alostale
2014-02-17 13:44alostaleRelationship addedrelated to 0025709
2014-02-18 12:02alostaleReview Assigned To => AugustoMauch
2014-02-19 07:31hgbotCheckin
2014-02-19 07:31hgbotNote Added: 0064336
2014-02-19 07:31hgbotStatusnew => resolved
2014-02-19 07:31hgbotResolutionopen => fixed
2014-02-19 07:31hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a92c4dac82ec81e238e66515c62dd3001118b6a7 [^]
2014-02-19 07:31hgbotCheckin
2014-02-19 07:31hgbotNote Added: 0064337
2014-02-19 10:14AugustoMauchNote Added: 0064343
2014-02-19 10:14AugustoMauchStatusresolved => closed
2014-02-19 10:14AugustoMauchFixed in Version => 3.0MP32
2014-02-19 15:12hudsonbotCheckin
2014-02-19 15:12hudsonbotNote Added: 0064366
2014-02-19 15:12hudsonbotCheckin
2014-02-19 15:12hudsonbotNote Added: 0064367

Notes
(0064336)
hgbot   
2014-02-19 07:31   
Repository: erp/devel/pi
Changeset: a92c4dac82ec81e238e66515c62dd3001118b6a7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 18 11:54:02 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a92c4dac82ec81e238e66515c62dd3001118b6a7 [^]

fixed issue 25720: define processes to require explicit permission

---
M modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_PROCESS.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/WindowSettingsActionHandler.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/process/BaseProcessActionHandler.java
M src-db/database/model/tables/AD_PROCESS.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-wad/src/org/openbravo/wad/Fields_data.xsql
M src-wad/src/org/openbravo/wad/Wad.java
M src-wad/src/org/openbravo/wad/javasource.javaxml
M src-wad/src/org/openbravo/wad/javasource.xml
---
(0064337)
hgbot   
2014-02-19 07:31   
Repository: erp/devel/pi
Changeset: e626ffeb97fa81f02f9c0ff62cb75dd2873bcd81
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Tue Feb 18 12:05:12 2014 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e626ffeb97fa81f02f9c0ff62cb75dd2873bcd81 [^]

related to issue 25720: set default value for process.explicitAccess property

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/OBUIAPP_PROCESS.xml
M modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_PROCESS.xml
M modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/AD_PROCESS.xml
M src-db/database/sourcedata/OBUIAPP_PROCESS.xml
---
(0064343)
AugustoMauch   
2014-02-19 10:14   
Code reviewed and verified in pi@970120b81d3c
(0064366)
hudsonbot   
2014-02-19 15:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d80214f6d50a [^]
Maturity status: Test
(0064367)
hudsonbot   
2014-02-19 15:12   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d80214f6d50a [^]
Maturity status: Test