Reviewed: https://reviews.mahara.org/7939 Committed: https://git.mahara.org/mahara/mahara/commit/a3d904e16bb0dbf8621842dafdd0feb9c3c0f9b8 Submitter: Robert Lyon ([email protected]) Branch: master
commit a3d904e16bb0dbf8621842dafdd0feb9c3c0f9b8 Author: Robert Lyon <[email protected]> Date: Mon Aug 21 11:18:15 2017 +1200 Bug 1692385: Adjusting the handle event for 'updateviewaccess' We want to record things like so: resourceid = view_access.id resourcetype = what type the view_access row is for, eg 'token', 'user', 'loggedin' etc parentresourceid = the id if the view the access is for parentresourcetype = 'view'; ownerid = the id of the owning resource, eg usr.id / group.id / institution.name ownertype = what owns the resource, eg user / group / institution Also this patch adjusts how we index things into elasticsearch behatnotneeded Change-Id: I079a42ded2fefaab64a6e49fc26e8aad303c9e8a Signed-off-by: Robert Lyon <[email protected]> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1692385 Title: Adjust the event_log table to facilitate logging of more chronological information Status in Mahara: Fix Committed Bug description: Currently for a number of things we only record the creation time (ctime) and last time they were interacted with (mtime). For views we also record last accessed time (atime). It would be better if we recorded the changes over time for things. So will add some _logging tables to record this info To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1692385/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

