Capabilities/moodle/course:publish
From MoodleDocs
- This allows a user to publish a course to a hub
- This capability is allowed for the default role of manager only
Note: In Moodle 3.7 onwards, an admin must also enable 'Course sharing on Moodle.net' in Site administration / Advanced features.