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