[ 
https://issues.apache.org/jira/browse/OFBIZ-12391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452349#comment-17452349
 ] 

Pierre Smits edited comment on OFBIZ-12391 at 12/2/21, 11:35 AM:
-----------------------------------------------------------------

Additionally, [~mbrohl], enhancing modelentity.java with the change under PR 
351 does NOT make these fields visible to every user. Access to record data in 
webtools is under the constraint of permissions, like access to the records in 
the underlying (r)dbms is.

And these fields (like the others defined via modelentity functionality), do 
NOT show up in grid/forms when those have following
{code:java}
<auto-fields-entity entity-name="EntityName" default-field-type="display"/> 
{code}
included in the definition.


was (Author: pfm.smits):
Additionally, [~mbrohl], enhancing modelentity.java with the change under PR 
351 does NOT make these fields visible to every user. Access to record data in 
webtools is under the constraint of permissions, like access to the underlying 
(r)dbms is. 

And these fields (like the others defined via modelentity functionality), do 
NOT show up in grid/forms when those have following
{code:java}
<auto-fields-entity entity-name="EntityName" default-field-type="display"/> 
{code}
included in the definition.

> Trustworthy OFBiz - audit capabilities
> --------------------------------------
>
>                 Key: OFBIZ-12391
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12391
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS, framework/entity
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Major
>              Labels: audit, entity, investigation, mvp, trust, usability
>
> When potential adopters want to use OFBiz as their primary solution for 
> business critical ERP (and related) processes, they (or at least their 
> auditors) want to be sure that they can see:
>  # who created the record in the underlying rdbms,
>  # when that record was created,
>  # who was the last one to modify the record
>  # when the modification happened.
> Currently out of the 800+ entities defined in the various entity model files, 
> only a fraction of the entities have fields defined for
>  * createdDate (23)
>  * createdByUserLogin (30)
>  * lastModifiedDate (24)
>  * lastModifiedByUserLogin (29)
> which means that for crucial entities (for a business) in OFBiz entities 
> records can be created and changed (for nefarious reasons) without auditors 
> and other investigators being able to state anything regarding the above 4 
> points.
> Currently there are over 600 entity-auto services invoking 'create', and 
> approximately the same amount of services that invoke 'update', that could 
> automatically set the fields listed above. However it is not done, because 
> these have not been defined.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to