跳转到主要内容

capability

A role is a collection of permissions defined for the whole system that you can assign to specific users in specific contexts. The combination of roles and context define a specific user's ability to do something on any page. The most common examples are the roles of student and teacher in the context of a course.

See also


Source: docs.moodle.org/503/en/capability — MoodleDocs (GPL) · Imported 2026-11-10.