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

Blocks Web Services (for course and dashboard) should return the block settings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.3
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE

      Description

      We should add a new method to the base block class: get_config_for_external so blocks can return the block configuration settings (after capabilities permission checks).

      The reason for adding a new method is because the block settings may contain sensitive data like access keys or passwords so we should follow the same approach that we implemented in other plugins like assignment, database, course formats, and user profile fields.

      We need this to support new functionality like: MDL-64855

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jleyva Juan Leyva
                Reporter:
                jleyva Juan Leyva
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: