You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Department Admin, I want to control the visibility of Knowledge Center Libraries at a facility level, so that I can manage content access across multiple facilities.
Description
Currently, Libraries are either Visible or Hidden department-wide. There is no facility-specific visibility control, meaning:
When an admin marks a resource as Visible, it becomes available to all facilities.
When an admin hides a resource, it disappears for all facilities.
This issue introduces facility-level visibility controls so that Department Admins can:
Select specific facilities where a Library should be visible.
Apply visibility changes department-wide with a “Select All” option.
Override facility-specific settings when needed.
Tasks
Backend Updates
Modify the database schema to support facility-specific visibility settings.
Update API endpoints to:
Accept facility-specific visibility changes.
Store which facilities a LIbrary is visible in.
Ensure department-wide changes apply to all facilities.
Department Admin UI Updates
Since libraries cannot be individually edited, the visibility selection must happen directly on the library card.
Replace the current "Visible/Hidden" toggle with:
A dropdown button labeled “Visibility” at the bottom of each Library card.
Clicking the button opens a modal with checkboxes for each facility.
A "Select All" option to make content visible across all facilities.
A visibility summary (e.g., “Visible in 3 Facilities,” "Visible in All Facilities") displayed on the card. Add tooltip when admin hovers on summary to show which facilities are visible.
Ensure selections dynamically update the UI and API.
Resident View Updates
Modify Resident queries to ensure only content marked "Visible" for their facility is displayed.
Ensure “Hidden” content is invisible to residents, regardless of facility.
User Flow
For Department Admins
Logs into UnlockEd → Goes to the Knowledge Center.
Scrolls through the list of libraries.
Clicks the “Visibility” dropdown on a Library card.
A modal appears listing all facilities with checkboxes + a “Select All” option.
Selects Facility A and Facility B → Library is now only visible at those facilities.
From a functional perspective I think that Department-level settings should take precedence.
From a technical standpoint it's easier to implement it without a precedence and the last person who sets it controls the visibility, regardless of their role.
@jtucholski my initial thought was that Department-admin decisions about visibility shouldn't be overridden by Facility-level admins, so yes, the Dept.-level settings should take precedence. This should also address the comment in #718
User Story
As a Department Admin, I want to control the visibility of Knowledge Center Libraries at a facility level, so that I can manage content access across multiple facilities.
Description
Currently, Libraries are either Visible or Hidden department-wide. There is no facility-specific visibility control, meaning:
This issue introduces facility-level visibility controls so that Department Admins can:
Tasks
Backend Updates
Department Admin UI Updates
Since libraries cannot be individually edited, the visibility selection must happen directly on the library card.
Resident View Updates
User Flow
For Department Admins
Acceptance Criteria
Outstanding Questions
The text was updated successfully, but these errors were encountered: