• Robert Lyon's avatar
    Bug 1692385: Adjusting the handle event for 'updateviewaccess' · a3d904e1
    Robert Lyon authored
    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's avatarRobert Lyon <robertl@catalyst.net.nz>
    a3d904e1
mahara.php 173 KB