Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007374Openbravo ERPC. Securitypublic2009-02-05 06:422009-05-22 19:36
pjuvara 
iciordia 
normalminoralways
acknowledgedopen 
5
2.40 
 
Core
No
0007374: Secure records so that only user who created them can view them
You should be able to declare in AD that in a particular window only the user who created the records is able to see them.

This behavior is for instance needed in the requistion flow where only the employee who created a requisition and the purchasing agent should be able to see them.
We have resolved this requirement in 2.40 with a workaround: we duplicated the window and added a custom where clause to enforce security.
This implementation however is not fully correct has it creates redundant code and it is confusing. See issues 7311 and 4716 for more details.

Another example of this need is in the Employee Appraisal module about to be published on top of 2.50. In that case, only the manager who created the appraisal, her management chain and the HR manager are able to see records. In that case, there is an additional twist as the manager is able to share the appraisal with the employee, so depending on the record status other users are also able to see the record.
In order to avoid duplications, we should allow to specify a custom filter in the role - window association.
This custom filter is applied in addition to the standard organization based security.
ReleaseCandidate
related to feature request 0007311 closed pjuvara M_requisition Window doesn't follow security model 
related to feature request 0004716 closed pjuvara Requisition and Manage Requisitions form are almost identical 
Issue History
2009-02-05 06:42pjuvaraNew Issue
2009-02-05 06:42pjuvaraAssigned To => pjuvara
2009-02-05 06:42pjuvarasf_bug_id0 => 2566916
2009-02-05 06:42pjuvaraRegression testing => No
2009-02-05 06:43pjuvaraRelationship addedrelated to 0007311
2009-02-05 06:43pjuvaraRelationship addedrelated to 0004716
2009-02-05 06:43pjuvaraStatusnew => acknowledged
2009-02-05 06:43pjuvaraTag Attached: ReleaseCandidate
2009-05-22 19:36pjuvaraAssigned Topjuvara => iciordia

There are no notes attached to this issue.