[Dev] Is there a hook that will help me to secure (filter) User information.

[Dev] Is there a hook that will help me to secure (filter) User information.

by Ryan Behague -
Number of replies: 0
Hello All,

I was hoping I could get some help to secure what user information could be seen on certain screens like the below enrolment search and certain activities screens.

Ideally I was hoping I could use a hook for an event that gets all user data for a list and apply a filter programmatically to remove certain users before the information is output to the renderer.

I have entertained the idea of building custom screens for each place it is displayed but I was certain there would be a better/faster way, Ideally I would like to implement this change in a way that doesn't involve hacking Moodle core files.

I would appreciate hearing from anyone done this sort of data protection before. 


Average of ratings: -