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

New Web Service to check access to a system report (core_reportbuilder_can_view_system_report)

    XMLWordPrintable

Details

    • WP Sprint 2023-I3.0 (Clones), WP Sprint 2023-I3.1 (Clones)

    Description

      This is a follow-up of MDL-78532, I think it would be worth it to create another one (core_reportbuilder_can_view_system_report) just performing the permissions check:

      $report = system_report_factory::create($source, $context, $component, $area, $itemid, $parameters);
      $canview = $report->can_view();

      We might need this to allow external systems, such as the mobile app, to display links to reports a user does not have permission to see.

      Attachments

        Issue Links

          Activity

            People

              pholden Paul Holden
              jleyva Juan Leyva
              Carlos Castillo Carlos Castillo
              David Carrillo David Carrillo
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 55 minutes
                  2h 55m

                  Clockify

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