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

Comment does not provide a way for other components to fetch a user's data

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.5, 3.5, 3.6
    • Fix Version/s: None
    • Component/s: Comments, Privacy
    • Labels:
      None
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      Instead of directly joining the comments table, there should be a comment provider method equivalent to \core_rating\privacy\provider::get_sql_join, which allows this to be fetched.

      Examples of affected methods are provider::get_contexts_for_userid methods for mod_data and mod_glossary.

      Once created, affected provider::get_contexts_for_userid methods will need to be found and corrected.

      There are also some provider::get_contexts_for_userid methods that join the rating table directly, instead of using the rating provider's get_sql_join method, which should be fixed at the same time (for example, mod_data).

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            michaelh Michael Hawkins
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: