Multi-Organization Access Rights

Tolerance Algorithm

The following modifications may cause a change of view on data objects (items, documents, ...), as well as the loss of access rights for previously visible records:

  1. Modification of the organization structure
  2. Modification of the data item structure
  3. Enabling/disabling the visibility flag (item becomes visible or invisible)

The view is not updated immediately in order to prevent long system access times. Instead, the value for the tolerance attribute for projects is increased.

The tolerance value is now handled in a true/false way, thus if the tolerance value is >0, the tolerance correction becomes effective when the tolerance correction function is executed. In the previous version, the tolerance correction started depending on a treshold value for the tolerance attribute.

The tolerance is defined using the configuration parameters of EDB-PDW section.

EDB-PDW-INS-STR Increase of tolerance when inserting items.
EDB-PDW-DEL-STR Increase of tolerance when deleting items.
EDB-PDW-START-CORRECT Threshold value for automatic correction of tolerance (now, tolerance correction is started when value >0.
EDB-PDW-TOL-EDB-ARTICLE Name of field used to store item tolerance settings of corresponding organizational unit.
EDB-PDW-TOL-EDB-DOCUMENT Name of field used to store item tolerance settings of corresponding organizational unit.
EDB-PDW-TOL-EDB-PACKET Name of field used to store packet tolerance settings of corresponding organizational unit.

The tolerance correction for MOA is now performed by PL/SQL procedure MOA_MPA.cleanup_views. The userexit xpdw_cln_vie, which is called by selection Manager > Tools > CorrectionOfPdwEntries >..., has the new parameter syntax [/ENT=<start_entity> /LOG_LEVEL=<log_level> with following values for the log_level:

Log Level Description
0

No log entries will be written to T_TMP_EDB_LOG.

1

A few log entries describing the main phases will be written to T_TMP_EDB_LOG.

2

INSERT statements will be logged in addition (new visibility entries).

3

Relation records, which will be deleted during the correction process, are logged additionally (deleted visibility entries). Includes log level 2.

The tolerance correction starts with entity "start_entity" and continues with all entities which are defined in the configuration parameter list after the start entity (EDB-PDW-ENT-<no>).