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

Implement course-level control of LTI tool placements

    • 8
    • Team Alpha - Sprint 2 I2-2025

      With the introduction of the LTI tool placement concept, a key next step is to improve the course-level control that teachers have over LTI tool placements. This enhancement will enable teachers to optionally enable or disable placements within a given course.

      Currently, this control is tightly coupled with the External Tool activity, which only allows the specification of whether a tool should be available within the activity chooser. Essentially, the external tool activity has become a specific type of placement. The aim is to generalize this approach and provide a more robust, flexible mechanism for managing the enabling and disabling of different placement types.

      To implement this change, as outlined in the prototype, the following scope is proposed:

      1. New "Manage Placements" option
        • Placement: The new “Manage placements” option will be added to the Actions menu for each tool listed on the course tools management page.
          This option should be displayed first in the list of options, and if there are more options available (in the case of course configured tools, where there is an Edit option, for example), a divider should be added between “Manage placement” option and the rest.
        • Availability: This option will always be visible to teachers who have the required capabilities to enable or disable placements.
        • Behaviour: The ‘Manage placements’ option, on click, will open a modal dialogue
      2. New “Manage placements” modal
        • Contents: The modal will list all configured placements for the selected LTI tool (showing their name), with a toggle option (checkbox) next to each placement used to set whether the placement should be enabled or disabled for this tool.
          (Initially, only the “Activity chooser” placement will be available for enabling or disabling.)
          Also, a description for each placement type should be included.
        • Actions
          • Save action: An Apply button will save any modifications made to placements.
          • Cancel action: A Cancel button will close the modal without saving any changes.
      3. Additional updates to the LTI course tool management page:
        • The “Show in activity chooser” column and associated option will be removed from the LTI course tools table. This functionality will now be managed through the “Manage placements” modal.
        • Omit logic that is responsible for rendering the current lock icon that is shown in the Actions column for system-level LTI tools. The Actions menus will now always have at least one option present (‘Manage placements’), so this is now redundant.
      4. Automated testing: Adding phpunit/behat tests to cover this functionality (if applicable)

            rajneel.totaram@moodle.com Rajneel Totaram
            Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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