Moodle context and roles
One thing which I found myself constantly having to look up when I started developing with Moodle was what all the Context and Role IDs were. So here is a quick list of them in case it helps anyone: Contexts Levels CONTEXT_SYSTEM = 10 CONTEXT_USER = 30 CONTEXT_COURSECAT = 40 CONTEXT_COURSE = 50 CONTEXT_MODULE = […]
Moodle context and roles Leer más »