Changes between Version 9 and Version 10 of S3/S3Audit


Ignore:
Timestamp:
08/20/14 12:30:55 (10 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Audit

    v9 v10  
    3232
    3333
     34== Logging Actions ==
     35
     36S3Audit is called during CRUD actions as:
     37{{{#!python
     38current.audit(method, prefix, name, record=record, representation=representation)
     39}}}
     40
     41||=Parameter=||=Explanation=||
     42||'''method'''||The access method (create, list, read, update, delete)||
     43||'''prefix'''||The prefix of the table name||
     44||'''name'''||The tablename without prefix||
     45||'''record'''||The record ID (None for multiple records)||
     46||'''representation'''||The representation format of the request||
     47
    3448== Code ==
    3549
    36   - ''tbw''
     50S3Audit can be found in modules/s3/s3aaa.py.
    3751
     52The ''s3_audit'' table is created by the S3Audit class internally on demand (=no separate model).
     53
     54The ''default/audit'' controller can be used to access the audit trail.