能力/moodle/role:override
来自MoodleDocs
此页面尚未开始翻译,或者正在翻译过程中,正需要您来做贡献。 请点击左面导航条最末尾的“English”查看原文,开始翻译。 如果您对翻译流程和Wiki语法不了解,请阅读贡献者指引。
allows a user to override a capability in a role in context. note that to override a capability in role A, the user doing the override has to hold a role B so that role B is permitted to override role A. This is controlled in the roles allow override settings.
This is logical because even though a teacher might have moodle/role:override, in most situations we only want him to be able to override capabilities of the student role, and not the admin role in his own course.