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

Add capability restrictions to the mhaairs grade_update service.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8.10, 2.9.4
    • 2.9
    • Block: Mhaairs
    • None

      Since the service can create/update grade items and update grades it should be restricted by moodle/grade:manage and moodle/grade:edit respectively. This can be done in the service definition (in db/services.php) to the effect that the API user can either do both or none. Both capabilities are granted by default to the Manager and Teacher roles.

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            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.