Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61982

Policy plugin still refers to a capability that been dropped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.3.5, 3.4.2, 3.5
    • Privacy
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

      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()
      

            Unassigned Unassigned
            mudrd8mz David Mudrák (@mudrd8mz)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.