Capabilities/moodle/course:managefiles
From MoodleDocs
- This allows a user to access files used in a course in the Server files repository (and in Legacy course files) depending upon the repository being enabled and the user having appropriate permission to view it
- This capability is allowed for the default roles of manager and teacher
- The capability should be allowed together with the view server files capability to enable managers and teachers to access files used within a course