The general format of a capability name is a/b:c. Do a, b, and c have names? For example, would you call a the capability prefix? I'm looking for terminology that I can use in my explanation so that I don't sound like a total ignoramus.
The article Development:Roles mentions two conventions:
-
The naming convention for capabilities that are specific to modules and blocks is mod/modname:capability where modname is the name of the directory containing the module's source code.
-
The naming convention for capabilities that are specific to enrolment is enrol/enrolname:capability where enrolname is the name of the directory containing the enrolment plugin's source code
gradeexport/ods:view
gradeimport/csv:view
gradereport/grader:view
but is this a trend or an aberration? gradeimport/csv:view
gradereport/grader:view
What, if anything, can I tell about capability scoping from the capability name (e.g., does the b part tell me anything?
Inquiring minds want to know