Possible conflict between hiding content tool and adding folders in resources

Description

This new feature in https://sakaiproject.atlassian.net/browse/SAK-32127#icft=SAK-32127 hides the top level resource folder (but allows access to the contents) if the tool is hidden. However with the feature in https://sakaiproject.atlassian.net/browse/LSNBLDR-542#icft=LSNBLDR-542 it appears as if it makes the folders inaccessible. It seems like the interior folders should be accessible the same as the files.

I'm not entirely sure what the cause of this is or what the fix for this is, I'm just filing this as a noted issue on SAK-32127.

comment on that ticket about this

  • Nightly experimental has a new feature that allows instructors to "Add Resources Folder" to a Lessons page (see https://sakaiproject.atlassian.net/browse/LSNBLDR-542#icft=LSNBLDR-542).

  • When the Resources tool is made invisible to students ("special hidden"), and a Resources folder is added to Lessons using this new feature, the contents of the folder cannot be viewed by the student in Lessons. This is inconsistent with the existing "Add Content Links" feature in Lessons – which lets instructors create a link to a file in Resources, and that file is available to students, even if Resources is special hidden. See attached screenshots.

  • These two Lessons features should treat "special hidden" Resources folders and files the same. From a T&L perspective, it's desirable to hide Resources on the course menu but still allow students access to selected Resources folders and files via Lessons.

Activity

Show:

Matthew Jones August 7, 2017 at 10:09 AM

So it looks like in the code for isAvailable, there's a while loop that goes up the collection tree and keeps any items hidden that are nested. This also applies top level properties for a collection on it's children with no way to override.

I think we'd have to make this "special" property not inherit to the child folders.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created June 5, 2017 at 8:42 AM
Updated April 25, 2018 at 3:18 PM
Resolved August 10, 2017 at 8:43 AM

Flag notifications