Capabilities/enrol/guest:config
From MoodleDocs
- This allows a user to add the Guest access enrolment plugin to a course via Settings>Course administration>Users>Enrolment methods (provided that it has been enabled by admin in Settings>Site administration>Plugins>Enrolments>Manage enrol plugins)
- The default roles of Manager and Teacher have this capability set to allow.