简体   繁体   中英

How to add a permission to moodle permissions?

When creating a new user in moodle we can select a set of permissions.
How these permissions are created? How I can add my new permission to this list in a systematic way?

They are defined in db/access.php for each plugin/module.

http://docs.moodle.org/dev/Access_API#How_to_define_new_capabilities_in_plugins

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM