Audit History
(CO-42)
[CO-95] Table-level point in time audit Created: 22/Feb/11 Updated: 22/Jul/15 Resolved: 22/Jul/15 |
|
Status: | Resolved |
Project: | COmanage |
Component/s: | Registry |
Affects Version/s: | None |
Fix Version/s: | COmanage Registry 0.9.4 (EEP4) |
Type: | Sub-task | Priority: | Major |
Reporter: | Benn Oshrin (internet2.edu) | Assignee: | Benn Oshrin (internet2.edu) |
Resolution: | Completed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
See Model->logTransactions (seems to be mostly undocumented) |
Comments |
Comment by benno [ 19/Mar/11 ] |
Note that dynamic extended attribute tables ( |
Comment by benno [ 06/Dec/11 ] |
To Scott to find a Cake 2 way to do this. |
Comment by benno [ 18/May/12 ] |
One (old) approach is described here: http://bakery.cakephp.org/articles/alkemann/2008/10/21/logablebehavior |
Comment by benno [ 01/Oct/12 ] |
See also (relatedly) https://github.com/dereuromark/tools/blob/2.0/Model/Behavior/WhoDidItBehavior.php |
Comment by benno [ 20/Feb/14 ] |
Following |
Comment by benno [ 09/Dec/14 ] |
See also: Event Sourcing |
Comment by benno [ 12/May/15 ] |
ChangelogBehavior being implemented for Will probably want ChangelogBehavior::beforeFind() to support something like $query['asOf'] (and add suitable index(es) to changelog enabled Models). |
Comment by benno [ 20/May/15 ] |
A basic changelog View Element was added as part of
|
Comment by benno [ 21/May/15 ] |
ChangelogBehavior also offers the possibility of "undelete". |
Comment by benno [ 22/May/15 ] |
We need to think about where "soft" vs "hard" delete should be offered, functionally. For example, deleting a CO might be a "hard" delete (vs setting the CO to "suspended"). Expunging a CO Person might also be a "hard" delete, or maybe it should be a two step operation (like emptying the trash... expunge person followed by "purge deleted records"). The UI should also provide hints as needed. "Are you sure you want to delete? This operation cannot be undone." Note StandardController and ChangelogBehavior support passing a "hard delete" hint. |
Comment by benno [ 24/May/15 ] |
Initial version of ChangelogBehavior added in 5b162ac081 for |
Comment by benno [ 22/Jul/15 ] |
This ticket will be considered resolved with v0.9.4 Changelog functionality. Future enhancements moved to other tickets ( |