Incorrect event triggered when share a collection with a group
Bug #1702374 reported by
Dmitrii Metelkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This bug was discovered as part of https:/
Version of Mahara: 16.10.2
When you share a collection with a group it triggers event "saveview" and save DB record like:
53773 | 53773 | 2017-06-29 20:40:06 | saveview | {"id":"14925"}
But view hasn't been updated as we just have changed collection access rule, but not any page in the collection.
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Part of this issue is when we update access for a collection it is actually updating the access for all the views within the collection.
What we need to do is to create a new event 'saveviewaccess' and record that when we update view/collection access instead