Add conditions other than capabilities
Add something like the "Only cohort members" field that exists in the self-enrolment plugin or something from a user profile field (like "email address LIKE '%@ourschool.com' , just as an example).
Add something like the "Only cohort members" field that exists in the self-enrolment plugin or something from a user profile field (like "email address LIKE '%@ourschool.com' , just as an example).