Hide and Show Only

Table of Contents

How to Use this Page

Conduct the tests described below on the QA server - http://skdev1.bu.edu:8480/portal - filling in the table with pertinent information. Please note any failures in red. e.g.

pass
fail

Extra notes can be included in the table, or added below as comments if they require more explanation.

Preparations

Create a course site with at least the following tools:

  • Announcements
  • Resources

Add 4 users to this site:

  • 2 Instructors (to make sure they can't hide things from each other)
  • 1 Teaching Assistant
  • 1 Student

Upload at least one file and one new folder that contains at least one file to the Resources section of a course site.

Verify Permissions:

The Resources tool has a new permission named "Hidden." Before conducting any testing, verify that the Instructor and Teaching Assistant roles have the hidden permission, and the Student role does not. You can alter this as an Instructor through the "Permissions" action link at the top of the Resources tool.

Test Site Access

Step 1 - set file to be hidden

Verify Correct Access for:

User Role

Resources interface

WebDAV

Access URL

URL in Announcement

Student

pass r13959 (i.e. resource not visible)

pass r13802(i.e. resource not visible)

pass r13959 (i.e. 403 error)

 

Teaching Assistant

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. access)

 

Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can access)

pass r13959 (i.e. can access)

 

Second Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can access)

 

Step 2 - set file to be shown

Verify Student Access:

User Role

Resources interface

WebDAV

Access URL

URL in Announcement

Student

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

 

Step 3 - set folder to be hidden

Verify Correct Access for folder:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. folder disappears)

pass r13802 (i.e. folder disappears)

pass r13959 (i.e. 403 error)

Teaching Assistant

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Second Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Verify Correct Access for contained items:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. no way to navigate to them)

pass r13802 (i.e. access forbidden)

pass r13959 (i.e. 403 error)

Teaching Assistant

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Second Instructor

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Step 4 - set folder to be shown

Verify Student Access:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Verify that a Student can now see/access contained items:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. can see and access)

pass r13802 (i.e. can see and access)

pass r13959 (i.e. can see and access)

Test Group Access

Create a group containing the Student user, set the access for the files and folders to be restricted to that group, and repeat the tests from Site Access.

Step 1 - set file to be hidden

Verify Correct Access for:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. not visible)

pass r13802 (i.e. resource invisible)

pass r13959 (i.e. 403 error)

Teaching Assistant

pass r13959 (i.e. not visible - not a group member)

pass r13802 (i.e. resource invisible - not a group member)

pass r13959 (i.e. 403 error - not a group member)

Instructor

pass r13959 (i.e. resource accessible)

pass r13802 (i.e. resource accessible)

pass r13959 (i.e. resource accessible)

Second Instructor

pass r13959 (i.e. resource accessible)

pass r13802 (i.e. resource accessible)

pass r13959 (i.e. resource accessible)

Step 2a - now set file to be shown (Display to group)

Verify Student Access:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13959 (i.e. visible and accessible)

 

pass r13959 (i.e. visible and accessible)

Teaching Assistant

pass r13959 (i.e. not visible - not member of group)

 

pass r13959 (i.e. not visible - not member of group)

Step 2b - set file to be shown (Display to site)

Verify Student Access:

User Role

Resources interface

WebDAV

Access URL

Student

pass r13802 (i.e. resource visible and accessible)

pass r13802 (i.e. resource visible and accessible)

pass r13802 (i.e. resource visible and accessible)

Teaching Assistant

pass r13802 (i.e. resource visible and accessible)

pass r13802 (i.e. resource visible and accessible)

pass r13802 (i.e. resource visible and accessible)

Step 3 - set folder to be hidden

fail - cannot set group access on folder containing items (see comment from Clay/Mike below)
Cannot perform folder tests below.
r13959 - group access on folder problem persists. Confirmed by adding a second student to site, but not to group. Student 2 could access folders set to show for group 1 only.

Verify Correct Access for folder:

User Role

Resources interface

WebDAV

Access URL

Student

 

 

 

Teaching Assistant

 

 

 

Instructor

 

 

 

Second Instructor

 

 

 

Verify Correct Access for contained items:

User Role

Resources interface

WebDAV

Access URL

Student

 

 

 

Teaching Assistant

 

 

 

Instructor

 

 

 

Second Instructor

 

 

 

Step 4 - set folder to be shown

Verify Student Access:

User Role

Resources interface

WebDAV

Access URL

Student

 

 

 

Verify that a Student can now see/access contained items:

User Role

Resources interface

WebDAV

Access URL

Student

 

 

 

Test Public Access

Set the access for the files and folders to be public, and repeat the tests from Site Access.

Step 1 - set file to be hidden

Verify No Access from gateway:
pass r13802 (i.e. resource does not appear)

Step 2 - set file to be shown

Verify Access from gateway:
pass r13802 (i.e. resource appears)

Step 3 - set folder to be hidden

Verify No Access for contained items from gateway:
pass r13802 (i.e. resource does not appear)

Step 4 - set folder to be shown

Verify Access for contained items from gateway:
pass r13802 (i.e. resources appear)

Test Attachments

Set a file resource to be hidden, and try creating attachments using several different tools

Announcement attachment (Attach a copy)

Student | pass r13802 (i.e. resource visible, accessible)

Assignments attachment (Attach a copy)

Student | pass r13802 (i.e. resource visible, accessible)

Schedule attachment (Attach a copy)

Student | pass r13802 (i.e. resource visible, accessible)

Syllabus attachment (Attach a copy)

Student | pass r13802 (i.e. resource visible, accessible)

Gradebook attachment

Can't attach file within Gradebook assignemnt

Samigo attachment

Samigo not availabe in Site Info -> Edit Tools on QA server

Added via Sites tool, but can't find an interface to attach or link to a file in Resources.

rWiki attachment (Link)

Rwiki not availabe on in Site Info -> Edit Tools QA server

Then I got unlazy and used the Sites tool as "admin" and manually added a page with the Wiki tool

Student - fail r13802 - link visible, but get a 403 when clicking

Test Search

Search must be enabled on the server (it is not yet as of r13456). Search should only show results for content to which a user has access, and so hidden files should not be included.

Step 1: upload a file with some known terms to be searched against

Step 2: set file to be hidden

Step 3: conduct searches against known terms, and verify that the hidden file is not among the results.