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

Add 'Delete' option to activity kebab menu in the course index

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0
    • None
    • Course

    Description

      As a teacher
      I want to be able to delete an activity in the course index
      so I can clean the content up

       

      As per current behavior, deleting a section deletes from the database:

      • The module itself
      • Information about module completion.
      • Information about module availability.
      • Module tags.
      • Specific information per plugin.
      • Doesn’t check deleted activity was part of “availability requirements” of any other module.

      (forget about the rest of the options for now)

         

      Prototype: https://www.figma.com/proto/OfCvqK069Oz6Fvqq2xcZWI/Create-a-course?node-id=3285%3A38308&scaling=scale-down

       

      Acceptance criteria:

      1. User needs permissions to delete activities.
      2. User needs to confirm the action.
      3. The activity will be removed in the course index and course main content.
      4. Some activity types would require asynchronous deletion. We will keep current behavior in those cases.

       

      Technical tasks:

      • Add cm_delete state action

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amaia Amaia Anabitarte
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: