How to add a capability to a context or create a new capability

Re: How to add a capability to a context or create a new capability

by AL Rachels -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

If I understand what you are wanting to do, you should not have to create anything. Just add the Participants block to the front page of your site, then edit its settings. Change the Page contexts to, Display throughout the entire site.

When a manager is in any of their courses, they will see the participants block and since managers already have permission to view participants, they will see only ones enrolled in that course.