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

Add "show differences only" into tool_capability

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Development in progress
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.5.6, 3.6.4, 3.7, 3.7.1
    • Fix Version/s: None
    • Labels:
    • 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 different capabilities 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 different capabilities will appear in the list
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
    • Pull Master Branch:

      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
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 31 minutes
                1h 31m