Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0034328Openbravo ERPA. Platformpublic2016-10-28 08:592019-08-22 14:45
caristu 
cberner 
highminoralways
closedfixed 
5
 
3.0PR19Q4 
AugustoMauch
Core
No
0034328: View Implementation accesses are not generated automatically for newly created roles
View Implementation accesses are not generated automatically for newly created roles.
1) Go to the [Role] window, and create a new automatic role (manual flag unchecked).

2) Navigate to the different subtabs which contain the new role accesses: org access, window access, form access...etc and notice that the accesses for view implementations have not been created.

Note: this issue can be workarounded by running update.database after generating the new role.

Add the ability in the obuiapp_ad_role_trg trigger to populate the records of the OBUIAPP_View_Role_Access table
No tags attached.
related to defect 00251643.0MP31 closed shankarb View Implementation access is not assigned for automatic roles after installing it with a module 
related to design defect 0018689 acknowledged Triage Platform Base Several issues with the View Implementation infrastructure 
Issue History
2016-10-28 08:59caristuNew Issue
2016-10-28 08:59caristuAssigned To => Triage Finance
2016-10-28 08:59caristuModules => Core
2016-10-28 08:59caristuTriggers an Emergency Pack => No
2016-10-28 08:59caristuCategory01. General setup => A. Platform
2016-10-28 09:00caristuRelationship addedrelated to 0025164
2016-10-28 09:00caristuAssigned ToTriage Finance => platform
2016-10-28 09:03caristuRelationship addedrelated to 0018689
2016-12-01 13:08alostaleStatusnew => acknowledged
2016-12-01 14:03alostalePrioritynormal => high
2019-07-31 11:19cbernerAssigned Toplatform => cberner
2019-07-31 11:19cbernerStatusacknowledged => scheduled
2019-08-02 09:08cbernerReview Assigned To => AugustoMauch
2019-08-06 10:08hgbotCheckin
2019-08-06 10:08hgbotNote Added: 0113821
2019-08-06 10:08hgbotStatusscheduled => resolved
2019-08-06 10:08hgbotResolutionopen => fixed
2019-08-06 10:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/69a96f025ab1ccabdfe1a061e788095101cb3635 [^]
2019-08-06 10:08AugustoMauchNote Added: 0113822
2019-08-06 10:08AugustoMauchStatusresolved => closed
2019-08-06 10:08AugustoMauchFixed in Version => 3.0PR19Q4
2019-08-22 14:45hudsonbotCheckin
2019-08-22 14:45hudsonbotNote Added: 0114204

Notes
(0113821)
hgbot   
2019-08-06 10:08   
Repository: erp/devel/pi
Changeset: 69a96f025ab1ccabdfe1a061e788095101cb3635
Author: Cristian Berner <cristian.berner <at> openbravo.com>
Date: Wed Jul 31 11:15:32 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/69a96f025ab1ccabdfe1a061e788095101cb3635 [^]

fixes issue 34328: Generates ViewImplAccess on automatic role creation

Trigger generates corresponding OBUIAPPViewRoleAccess for every active ViewImplementation when isManual is unchecked on role creation. Added tests to verify this.

---
M modules/org.openbravo.client.application/src-db/database/model/triggers/OBUIAPP_AD_ROLE_TRG.xml
M src-test/src/org/openbravo/test/AllAntTaskTests.java
A src-test/src/org/openbravo/test/role/RoleAccessGeneration.java
A src-test/src/org/openbravo/test/role/RoleTestSuite.java
---
(0113822)
AugustoMauch   
2019-08-06 10:08   
Code reviewed and verified, both in PostgreSQL and Oracle
(0114204)
hudsonbot   
2019-08-22 14:45   
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/ad3efd3bd07c [^]
Maturity status: Test