Comment 10 for bug 1692385

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7939
Committed: https://git.mahara.org/mahara/mahara/commit/a3d904e16bb0dbf8621842dafdd0feb9c3c0f9b8
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit a3d904e16bb0dbf8621842dafdd0feb9c3c0f9b8
Author: Robert Lyon <email address hidden>
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 address hidden>