Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-23259

Allow institutions to remove certain roles, such as guests, from inclusion in the portal chat

    XMLWordPrintable

    Details

    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      Using the latest trunk with portal chat enabled ...

      1. Open one browser, Safari, say, and login with one account. Navigate to a site.
      2. Open another browser and login with a different account. Navigate to the same site as in 1.

      You should see the users appear in each others chat windows, under the sites section.

      3. Modifiy sakai.properties or local.properties, adding this line

      portal.chat.securedByUser = true

      and restart tomcat.

      4. Repeat 1 and 2 and the chat window should not even show at the bottom right. Just the presence toggle should be visible for both users.
      5. Login as admin and edit one of the user's MyWorkspace realms in the Realms tool. Check the portal.chat.permitted box for the maintain role and save.
      6. Logout as admin and back in as the altered user. You should now see the chat box.
      7. Navigate to a site with both browsers again. One user should see only the presence toggle, one should see the chat box with the other user visible, but not clickable.
      8. Login as admin and boost the other user's permission. Now both users should see chat and be able to communicate when in the same site.

      Show
      Using the latest trunk with portal chat enabled ... 1. Open one browser, Safari, say, and login with one account. Navigate to a site. 2. Open another browser and login with a different account. Navigate to the same site as in 1. You should see the users appear in each others chat windows, under the sites section. 3. Modifiy sakai.properties or local.properties, adding this line portal.chat.securedByUser = true and restart tomcat. 4. Repeat 1 and 2 and the chat window should not even show at the bottom right. Just the presence toggle should be visible for both users. 5. Login as admin and edit one of the user's MyWorkspace realms in the Realms tool. Check the portal.chat.permitted box for the maintain role and save. 6. Logout as admin and back in as the altered user. You should now see the chat box. 7. Navigate to a site with both browsers again. One user should see only the presence toggle, one should see the chat box with the other user visible, but not clickable. 8. Login as admin and boost the other user's permission. Now both users should see chat and be able to communicate when in the same site.

      Description

      Problem: Chat will currently show every user who is logged on to all other members of the site. Sometimes, guests are added to a course site that don't have anything to do with the course itself--they are instructors who want to learn more about the course, or auditors, or if the site is joinable, people who just happened to join it. FERPA laws would probably discourage showing student names to people who are not formally associated with the course.

      Solution: allow the superusers of the CLE installation to block specific roles, namely guests, from using Chat across all course sites. (I don't think this option needs to be given to owners of the sites, as it would start to clutter the interface).
      There are two possibilities
      a) This blocks guests from chatting with other students, but not from other roles, like instructor, TA, or other guest
      b) This blocks guest from chatting with anyone in the site. A guest would then see "Chat is disabled" after "In this Site"

      I think "b" might be preferable in this case, as I think this should stay simple and picking "a" over "b" supports only hypothetical cases--others might disagree, but I can't think of a real need for this.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  a.fish@lancaster.ac.uk Adrian Fish
                  Reporter:
                  kamann Keli Amann
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code