Closed Nullmann closed 7 years ago
Maybe it is sufficient if there are only two contexts: read and write
Please remember that a user needs a certain capability to do/see something and that a role is only a configurable set of capabilities.
Try to reuse the capabilities Moodle is shipped with. So that a user can see or edit what she/he can see or edit in Moodle. Try to avoid creating new capabilities. Use for example a capability like core/course:can_enrol instead of tool/supporter:usercan enrol (To avoid cloning every single core capability ;) )
give different roles the permission to only read/read and write
Useful for 1st level support