MDL-40863 feedback and LTI mods need get_extra_capabilities fn
Since moodle/site:accessallgroups is relevant to how them.
This commit is contained in:
@@ -38,6 +38,15 @@ define('FEEDBACK_RESETFORM_DROP', 'feedback_drop_feedback_');
|
||||
define('FEEDBACK_MAX_PIX_LENGTH', '400'); //max. Breite des grafischen Balkens in der Auswertung
|
||||
define('FEEDBACK_DEFAULT_PAGE_COUNT', 20);
|
||||
|
||||
/**
|
||||
* Returns all other caps used in module.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function feedback_get_extra_capabilities() {
|
||||
return array('moodle/site:accessallgroups');
|
||||
}
|
||||
|
||||
/**
|
||||
* @uses FEATURE_GROUPS
|
||||
* @uses FEATURE_GROUPINGS
|
||||
|
||||
@@ -49,6 +49,15 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
/**
|
||||
* Returns all other caps used in module.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function lti_get_extra_capabilities() {
|
||||
return array('moodle/site:accessallgroups');
|
||||
}
|
||||
|
||||
/**
|
||||
* List of features supported in URL module
|
||||
* @param string $feature FEATURE_xx constant for requested feature
|
||||
|
||||
Reference in New Issue
Block a user