I am trying to allow activities and documents (H5P, PDF, etc.) to be seen by users based on their profile fields.
Allow me to explain this on a hypothetical situation:
Student and teacher A and B with profile field ''A1'', can see H5P Activity 1 and PDF-file ''red'',
Student and teacher X & Y with profile field ''A2'' can see H5P Activity 2 and PDF-file ''blue''.
However, if I turn the settings for determining access to the activity, I can only make it non-visible for students, based on their profile field. Teachers can still see this activity.
Inside the ''grant access to''- submenu, I only see ''student has to fulfill prerequisite = profile field 'A1.''
Is there a way in which we can make these activities invisible for the teacher role as well, in case their profile field does not fulfill the requirements?
I'd like to thank you in advance for thinking along.