ROCKVIEW UNIVERSITY SLPS — DATA COLLECTION SHARING

FEATURES
- Right-click a collection card to open the Share collection window.
- A visible three-dot menu provides the same action for touch devices.
- The owner selects an active staff/admin account and may optionally tick
  “Allow this person to edit the collection and manage responses”.
- If the checkbox is not selected, access is view-only.
- Owners can change a recipient's permission later or remove access.
- Shared collections appear in the recipient's Data Collections library with
  a clear “Shared · View only” or “Shared · Can edit” indicator.
- View-only recipients can inspect the form, analytics and responses, but
  cannot save, publish, close, delete or correct responses.
- Editors can edit the form and manage responses, but cannot share the
  collection onward or delete the owner's collection.
- Permissions are checked on the server for every protected API operation.

INSTALLATION
1. Back up the current SLPS files and database.
2. Upload the contents of this package's slps/ folder into the existing
   public_html/slps/ directory, preserving all folders.
3. In phpMyAdmin, select the SLPS database and import this file once:
   database/migrations/20261105_data_collection_sharing.sql
4. Hard-refresh the SLPS page (Ctrl+F5) and open Data Collections.
5. Right-click a collection card, or use its three-dot menu, then share it.

IMPORTANT
- This patch is built on the Data Collections source bundle supplied in the
  conversation. It does not change the public response form, response storage,
  charts, spreadsheet display, CSV export, or collection builder design.
- Do not delete or replace existing Data Collections tables or records.
- Test with two staff accounts: share once without the checkbox, then share
  with the checkbox selected. Confirm view-only API actions are rejected and
  editor actions work. Revoke access and confirm the collection disappears
  from the recipient's library on refresh.
- The patch has been syntax-checked locally; it has not been deployed or tested
  against the live cPanel database.
