You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The external functions currently are not checking the necessary capabilities. There are some checks later on, but it should be reworked like this:
Directly after validating the context in the external function there should be the appropriate capability check, this will usually be require_capability('mod/mootimeter:view', $modulecontext);
The enrol check like classes/local/pagelist.php:72 will not be needed anymore and should be removed
Check these for all external functions
The text was updated successfully, but these errors were encountered:
The external functions currently are not checking the necessary capabilities. There are some checks later on, but it should be reworked like this:
require_capability('mod/mootimeter:view', $modulecontext);
classes/local/pagelist.php:72
will not be needed anymore and should be removedThe text was updated successfully, but these errors were encountered: