Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5017

View access permission not checked in the Dataform view block and resource.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6.3
    • 2.6.2
    • Set: Dataform
    • None
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE

      View access permission not checked in the Dataform view block and resource.

      Possible solution:
      In mod_dataform_dataform::get_content_inline and mod_dataform_dataform::get_content_embedded check that the requested view id exists in the views menu which should contain only views the user can access.

              // Make sure user can access the view
              if (!array_key_exists($viewid, $viewman->views_menu)) {
                  return null;
              }
      

            itamart Itamar Tzadok (Inactive)
            itamart Itamar Tzadok (Inactive)
            Itamar Tzadok Itamar Tzadok (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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