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

Only activate autofavoriting for particular user types

    Details

    • Type: Feature Request
    • Status: OPEN
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.5, 20.0 [Tentative]
    • Fix Version/s: 12.6, 19.0, 20.0 [Tentative]
    • Component/s: Portal
    • Labels:
      None
    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • Property addition/change required:
      Yes
    • Test Plan:
      Hide

      Test 1

      1. Turn off autofavoriting by adding the property portal.autofavorite=false to your sakai or local properties file
      2. Add portal.autofavoritableUserTypes=maintain to your properties file, too.
      3. Restart Sakai
      4. As the admin user, create a new user with the user type of 'maintain'
      5. Add that user to a site
      6. Login as that user, in another browser. You should see the new site appear immediately. The user's auto favorite toggle should be on, too.

      Test 2

      1. Comment out portal.autofavoriting=false, this enables autofavoriting by default
      2. Create another user of the 'guest' type
      3. Add that user to a site
      4. Login as that user, in another browser. You should only see the Home site, no other, and the autofavorite toggle should be in the off position.

      Add'l Testing [LG 3/15/2019]

      Confirm server settings: portal.autofavorite=false ; portal.autofavoritableUserTypes=registered

      1. Login as existing maintain user, click Sites icon, click on Organize Favorites tab, verify toggle for Auto-Favoriting new sites is set to Off. Expected Results: still set to Off; Actual Results: PASS
      2. Login as existing registered user, click Sites icon, click on Organize Favorites tab, verify toggle for Auto-Favoriting new sites is set to On. Expected Results: Auto-Favoriting toggle is set to on; Actual Results: FAIL
      3. Add registered user to a new site; login as that user to Sakai. Expected Results: Newly enrolled site is on the sites banner. Actual Results: FAIL
      4. Unpublish a site. Login as registered user. Expected Results: Site is removed from their site banner
      Show
      Test 1 Turn off autofavoriting by adding the property portal.autofavorite=false to your sakai or local properties file Add portal.autofavoritableUserTypes=maintain to your properties file, too. Restart Sakai As the admin user, create a new user with the user type of 'maintain' Add that user to a site Login as that user, in another browser. You should see the new site appear immediately. The user's auto favorite toggle should be on, too. Test 2 Comment out portal.autofavoriting=false, this enables autofavoriting by default Create another user of the 'guest' type Add that user to a site Login as that user, in another browser. You should only see the Home site, no other, and the autofavorite toggle should be in the off position. Add'l Testing [LG 3/15/2019] Confirm server settings: portal.autofavorite=false ; portal.autofavoritableUserTypes=registered Login as existing maintain user, click Sites icon, click on Organize Favorites tab, verify toggle for Auto-Favoriting new sites is set to Off. Expected Results: still set to Off; Actual Results: PASS Login as existing registered user, click Sites icon, click on Organize Favorites tab, verify toggle for Auto-Favoriting new sites is set to On. Expected Results: Auto-Favoriting toggle is set to on; Actual Results: FAIL Add registered user to a new site; login as that user to Sakai. Expected Results: Newly enrolled site is on the sites banner. Actual Results: FAIL Unpublish a site. Login as registered user. Expected Results: Site is removed from their site banner

      Description

      Only activate autofavoriting for particular user types. The idea is to turn on autofavoriting, ie: the toggle being in the on position by default, just for certain user types, such as 'registered' or 'guest', perhaps student types. Other types wouldn't have sites autofavorited.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code