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

Add "show differences only" into tool_capability

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      With the modified code:

      1. Goto to Administration -> users -> Permissions -> Capability overview

      2. Select:

      • all capabilities
      • two similar roles (editingteacher and teacher for example)
      • check "Show differences only" on the form

      3. Submit form

      Result: Only capabilities with different permissions will appear in the list

      Show
      With the modified code: 1. Goto to Administration -> users -> Permissions -> Capability overview 2. Select: all capabilities two similar roles (editingteacher and teacher for example) check "Show differences only" on the form 3. Submit form Result: Only capabilities with different permissions will appear in the list
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
      MDL-66332-master
    • Sprint:
      Moodle 3.9 - Moppies Kanban

      Description

      tool_capability is a great to tool to compare roles in moodle but most of the time users only want to know the real differences between roles. By adding a "show only differences" filter in the main form is easy and will be a good improvement to this tool.

      I attach git link to my own branch where I made the required modifications.

       

        Attachments

          Activity

            People

            Assignee:
            tusefomal Ferran Recio
            Reporter:
            tusefomal Ferran Recio
            Peer reviewer:
            Mathew May
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Gladys Basiana
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 1 minute
                1d 3h 1m