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

Database module doesn't respect mod/data:comment capability when adding comments

XMLWordPrintable

    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

      The Database module doesn't seem to respect the 'mod/data:comment' capability anywhere in it's code (in fact grep'ing for it returns only it's definition in /db/access.php).

      Probably should be checked before printing the link to add a comment in the data_print_comments function (lib.php), and maybe a catch-all require_capability call in comment.php?

            dongsheng Dongsheng Cai
            pholden Paul Holden
            Nicolas Connault Nicolas Connault (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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