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

Reimplement access to log table in function can_delete_course()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: Course, Logging
    • Labels:
    • Testing Instructions:
      Hide
      1. Set legacy store as default logging store
      2. Login as a user which has course:create permission but not course:Delete permission at category context.
      3. Create a course
      4. go to category management interface and make sure you get the option to delete the course that you just created, but not any other course.
      5. log out.
      6. set standard database as the default logging store.
      7. Repeat step 2-4
      Show
      Set legacy store as default logging store Login as a user which has course:create permission but not course:Delete permission at category context. Create a course go to category management interface and make sure you get the option to delete the course that you just created, but not any other course. log out. set standard database as the default logging store. Repeat step 2-4
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-42892-master_42890
    • Story Points:
      20
    • Sprint:
      BACKEND Sprint 11

      Description

      Currently this function uses the legacy logging table. It needs to be upgraded to use the new logging API.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              salvetore Michael de Raadt
              Peer reviewer:
              Petr Skoda
              Integrator:
              Marina Glancy
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14