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

Add Group mode to Glossary

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2, 2.9, 3.4, 3.7, 3.8
    • Fix Version/s: None
    • Component/s: Glossary
    • Testing Instructions:
      Hide

      Prerequisites

      1. A course with the following users enrolled
        1. Teacher (T1)
        2. 5 students (S1..5)
      2. Groups with the following configurations
        1. Group 1(G1) with students S1 and S2
        2. Group 2(G2) with students S3 and S4
        3. Group 3(G3) with students S2 and S3
      3. A glossary resource in the course with the following set:
        1. Name - "New glossary"
        2. Description - "This is a new glossary"
        3. Group - "Separate groups"
      4. Glossary entries authored by the following users with the associated content:
        1. T1 (Entry1)
          1. Title - Entry1
          2. Description - Entry by teacher
          3. Keyword - glossary
        2. S1 (Entry2)
          1. Title - Entry2
          2. Description - Entry by student1
          3. Keyword - glossary
        3. S3 (Entry3)
          1. Title - Entry3
          2. Description - Entry by student3
          3. Keyword - glossary
          4. Group - 'Group 3'
      5. Enable the glossary auto-linking filter (https://docs.moodle.org/36/en/Glossary_auto-linking_filter)
      6. Add "Random glossary entry" block to the users' course dashboard with the following settings:
        1. "Take entries from this glossary" - New glossary
          (https://docs.moodle.org/36/en/Random_glossary_entry_block)

      Testing instructions:

      1. Log in as a teacher(T1)
      2. Go to the course and turn editing on
      3. Go to the glossary's settings page.
      4. In the 'Common module settings', confirm you can see the following:
        1. 'Group mode' dropdown
        2. 'Grouping' dropdown
        3. 'Add group/grouping access restriction' button

      Group mode - 'No groups'

      Visibility of glossary entries in glossary activity

      1. Log in as a teacher and edit the glossary's settings
      2. If not set, set the 'Group mode' to 'No groups' and 'Save and display'
      3. If not selected, view all entries by selecting 'All'
      4. Confirm you can see all the entries created.
      5. Log in as S1
      6. Go to the glossary
      7. Confirm you can see all the entries created.

      Repeat Steps #5-7 with S2..5

      Visibility of glossary entries in "Random Glossary entry" block

      1. Log in as the teacher
      2. Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page

      Repeat Steps #1-2 with S1..5 

      Linking of glossary entries

      1. Log in as a teacher
      2. Confirm the term 'glossary' is linked to one of the entries created.

      Repeat Steps #1-2 with S1..5

      Group mode - 'Visible groups'

      Visibility of glossary entries in glossary activity

      1. Log in as a teacher and edit the glossary's settings
      2. If not set, set the 'Group mode' to 'Visible groups' and 'Save and display'
      3. If not selected, view all entries by selecting 'All'
      4. Confirm you can see the "Visible groups" drop down and you can see the 3 groups listed.
      5. Select 'All participants' from the dropdown
      6. Confirm you can see all the entries created.
      7. Confirm you can view the following with the selection in "Visible groups":
        1. Group 1 - Entry 1 and Entry 2
        2. Group 2 - Entry 1 and Entry 3
        3. Group 3 - Entry 1
      8. Log in as a student S1
      9. Go to the glossary created
      10. Repeat steps #4 and #7

      Repeat Steps #8-10 when logged in as S2..5

      Visibility of glossary entries in "Random Glossary entry" block

      1. Log in as the teacher
      2. Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page

      Repeat Steps #1-2 with S1..5 

      Linking of glossary entries

      1. Log in as a teacher
      2. Confirm the term 'glossary' is linked to one of the entries created.
      3. Log in as the following student and confirm the links as follows:
        1. As S1, link to Entry2
        2. As S2, link to either Entry2 OR Entry3
        3. As S3, link to Entry3
        4. As S4, link to Entry3
        5. As S5, link to Entry1

      Group mode - 'Separate groups'

      Visibility of glossary entries in glossary activity

      1. Log in as a teacher and edit the glossary's settings
      2. If not set, set the 'Group mode' to 'Separate groups' and 'Save and display'
      3. If not selected, view all entries by selecting 'All'
      4. Confirm you can see the "Separate groups" drop down and you can see the 3 groups listed.
      5. Select 'All participants' from the dropdown
      6. Confirm you can see all the entries created.
      7. Confirm the following when viewing the glossary as user:
        1. As S1, only Entry1 and Entry2 are visible
        2. As S2, you can see "Separate groups" dropdown with Group 1 and Group 3 listed
          1. When the following group is selected:
            1. Group 1 - Entry1, Entry2 are visible
            2. Group 3 - Entry1, Entry3 are visible
        3. As S3, only Entry1 and Entry3 are visible
        4. As S3, you can see "Separate groups" dropdown with Group 2 and Group 3 listed
          1. When the following group is selected:
            1. Group 2 - Entry1, Entry3 are visible
            2. Group 3 - Entry1, Entry3 are visible
        5. As S4, only Entry1 and Entry3 are visible
        6. As S5, only Entry1 is visible

      Visibility of glossary entries in "Random Glossary entry" block

      1. Log in as the teacher
      2. Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page
      3. Confirm the following users can only view one of the entries listed in their dashboard:
        1. As S1, either Entry1 OR Entry2 are visible
        2. As S2, either Entry1, Entry2 OR Entry3 are visible
        3. As S3, either Entry1 OR Entry3 are visible
        4. As S4, either Entry1 OR Entry3 are visible
        5. As S5, only Entry1 is visible

      Linking of glossary entries

      1. Log in as a teacher
      2. Confirm the term 'glossary' is linked to one of the entries created.
      3. Log in as the following student and confirm the links as follows:
        1. As S1, link to Entry2
        2. As S2, link to either Entry2 OR Entry3
        3. As S3, link to Entry3
        4. As S4, link to Entry3
        5. As S5, link to Entry1

      Pending approval linking

      This will be valid for the different grouping options. Perform the following in separate browsers (or one incognito)

      1. In browser 1,
        1. Log in as the teacher
        2. Update the glossary settings and save as follows:
          1. Approved by default - No
          2. Group mode - Separate groups
        3. Create a new group 'Group 4' with only student S5 in it
      2. In browser 2,
        1. Log in as student(S5)
        2. Go to the glossary
        3. Confirm the term 'glossary' is linked to Entry1
        4. Add a new glossary entry and save with the following details:
          1. Title - Entry4
          2. Description - Entry by student5
          3. Keyword - glossary
        5. Confirm the term 'glossary' is still linked to Entry1
      3. In browser 1, as the teacher, approve the newly created entry
      4. Purge the cache.
      5. In browser 2, confirm the link is now to Entry4
      Show
      Prerequisites A course with the following users enrolled Teacher (T1) 5 students (S1..5) Groups with the following configurations Group 1(G1) with students S1 and S2 Group 2(G2) with students S3 and S4 Group 3(G3) with students S2 and S3 A glossary resource in the course with the following set: Name - "New glossary" Description - "This is a new glossary" Group - "Separate groups" Glossary entries authored by the following users with the associated content: T1 (Entry1) Title - Entry1 Description - Entry by teacher Keyword - glossary S1 (Entry2) Title - Entry2 Description - Entry by student1 Keyword - glossary S3 (Entry3) Title - Entry3 Description - Entry by student3 Keyword - glossary Group - 'Group 3' Enable the glossary auto-linking filter ( https://docs.moodle.org/36/en/Glossary_auto-linking_filter ) Add "Random glossary entry" block to the users' course dashboard with the following settings: "Take entries from this glossary" - New glossary ( https://docs.moodle.org/36/en/Random_glossary_entry_block ) Testing instructions: Log in as a teacher(T1) Go to the course and turn editing on Go to the glossary's settings page. In the 'Common module settings', confirm you can see the following: 'Group mode' dropdown 'Grouping' dropdown 'Add group/grouping access restriction' button Group mode - 'No groups' Visibility of glossary entries in glossary activity Log in as a teacher and edit the glossary's settings If not set, set the 'Group mode' to 'No groups' and 'Save and display' If not selected, view all entries by selecting 'All' Confirm you can see all the entries created. Log in as S1 Go to the glossary Confirm you can see all the entries created. Repeat Steps #5-7 with S2..5 Visibility of glossary entries in "Random Glossary entry" block Log in as the teacher Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page Repeat Steps #1-2 with S1..5  Linking of glossary entries Log in as a teacher Confirm the term 'glossary' is linked to one of the entries created. Repeat Steps #1-2 with S1..5 Group mode - 'Visible groups' Visibility of glossary entries in glossary activity Log in as a teacher and edit the glossary's settings If not set, set the 'Group mode' to 'Visible groups' and 'Save and display' If not selected, view all entries by selecting 'All' Confirm you can see the "Visible groups" drop down and you can see the 3 groups listed. Select 'All participants' from the dropdown Confirm you can see all the entries created. Confirm you can view the following with the selection in "Visible groups": Group 1 - Entry 1 and Entry 2 Group 2 - Entry 1 and Entry 3 Group 3 - Entry 1 Log in as a student S1 Go to the glossary created Repeat steps #4 and #7 Repeat Steps #8-10 when logged in as S2..5 Visibility of glossary entries in "Random Glossary entry" block Log in as the teacher Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page Repeat Steps #1-2 with S1..5  Linking of glossary entries Log in as a teacher Confirm the term 'glossary' is linked to one of the entries created. Log in as the following student and confirm the links as follows: As S1, link to Entry2 As S2, link to either Entry2 OR Entry3 As S3, link to Entry3 As S4, link to Entry3 As S5, link to Entry1 Group mode - 'Separate groups' Visibility of glossary entries in glossary activity Log in as a teacher and edit the glossary's settings If not set, set the 'Group mode' to 'Separate groups' and 'Save and display' If not selected, view all entries by selecting 'All' Confirm you can see the "Separate groups" drop down and you can see the 3 groups listed. Select 'All participants' from the dropdown Confirm you can see all the entries created. Confirm  the following when viewing the glossary as user: As S1, only Entry1 and Entry2 are visible As S2, you can see "Separate groups" dropdown with Group 1 and Group 3 listed When the following group is selected: Group 1 - Entry1, Entry2 are visible Group 3 - Entry1, Entry3 are visible As S3, only Entry1 and Entry3 are visible As S3, you can see "Separate groups" dropdown with Group 2 and Group 3 listed When the following group is selected: Group 2 - Entry1, Entry3 are visible Group 3 - Entry1, Entry3 are visible As S4, only Entry1 and Entry3 are visible As S5, only Entry1 is visible Visibility of glossary entries in "Random Glossary entry" block Log in as the teacher Go to the dashboard and confirm any one of the entries can be viewed after every refresh of the page Confirm the following users can only view one of the entries listed in their dashboard: As S1, either Entry1 OR Entry2 are visible As S2, either Entry1, Entry2 OR Entry3 are visible As S3, either Entry1 OR Entry3 are visible As S4, either Entry1 OR Entry3 are visible As S5, only Entry1 is visible Linking of glossary entries Log in as a teacher Confirm the term 'glossary' is linked to one of the entries created. Log in as the following student and confirm the links as follows: As S1, link to Entry2 As S2, link to either Entry2 OR Entry3 As S3, link to Entry3 As S4, link to Entry3 As S5, link to Entry1 Pending approval linking This will be valid for the different grouping options. Perform the following in separate browsers (or one incognito) In browser 1, Log in as the teacher Update the glossary settings and save as follows: Approved by default - No Group mode - Separate groups Create a new group 'Group 4' with only student S5 in it In browser 2, Log in as student(S5) Go to the glossary Confirm the term 'glossary' is linked to Entry1 Add a new glossary entry and save with the following details: Title - Entry4 Description - Entry by student5 Keyword - glossary Confirm the term 'glossary' is still linked to Entry1 In browser 1, as the teacher, approve the newly created entry Purge the cache. In browser 2, confirm the link is now to Entry4
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_29_STABLE, MOODLE_34_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-10728-master

      Description

      Adding a feature to make glossaries visible only within groups, similar to what's available within most other activities, would be very helpful.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                33 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m