The current tool_policy code still contains a reference to the capability tool/policy:manageprivacy in its admin/tool/policy/settings.php file. This then leads to a warning spotted by tsala at gdprdemo.moodle.net (when logging in as dpo user):
Capability "tool/policy:manageprivacy" was not found! This has to be fixed in code.
|
line 416 of /lib/accesslib.php: call to debugging()
|
line 536 of /lib/accesslib.php: call to has_capability()
|
line 38 of /admin/tool/policy/settings.php: call to has_any_capability()
|
line 81 of /lib/classes/plugininfo/tool.php: call to include()
|
line 598 of /admin/settings/plugins.php: call to core\plugininfo\tool->load_settings()
|
line 8000 of /lib/adminlib.php: call to require()
|
line 7885 of /lib/adminlib.php: call to admin_get_root()
|
line 24 of /admin/search.php: call to admin_externalpage_setup()
|
|
Capability "tool/policy:manageprivacy" was not found! This has to be fixed in code.
|
line 416 of /lib/accesslib.php: call to debugging()
|
line 536 of /lib/accesslib.php: call to has_capability()
|
line 38 of /admin/tool/policy/settings.php: call to has_any_capability()
|
line 81 of /lib/classes/plugininfo/tool.php: call to include()
|
line 598 of /admin/settings/plugins.php: call to core\plugininfo\tool->load_settings()
|
line 8000 of /lib/adminlib.php: call to require()
|
line 26 of /admin/search.php: call to admin_get_root()
|
- will be (partly) resolved by
-
MDL-61864 Prepare tool_policy for integration in 3.5
-
- Closed
-