SLPS — VISIBLE GIVE ACCESS UPDATE

IMPORTANT: This ZIP has shared/ and database/ directly at its root.

1. In phpMyAdmin, select the SLPS database and import:
   database/migrations/20261021_personal_folder_sharing.sql
   If it was already imported, importing it again is safe: it uses CREATE TABLE
   IF NOT EXISTS and does not remove existing folder access or files.
2. In cPanel File Manager, open your LIVE slps folder: the existing folder that
   contains authentication/, shared/, staff/, students/, etc.
3. Upload this ZIP INTO THAT EXISTING slps folder and extract it there. Merge
   directories and overwrite matching files. Do not create a new slps/slps/.
4. Press Ctrl+F5 or close and reopen the browser tab.
5. While signed in as staff or admin, open:
   https://intranet.rockviewuniversity.ac/slps/shared/views/modules/file-sharing-check.php
   This identifies missing update files or the sharing database table.

WHAT YOU SHOULD NOW SEE
A visible Folder access strip ABOVE the File Management toolbar, with a Give Access
button and the text Sharing update · 21 Oct 2026.
The button is always available:
- If you selected a folder, it opens the checklist for that folder.
- If you are inside a folder, it opens that folder's checklist.
- At My drive, it lets you choose a folder and then choose people.
Right-click Give Access is also retained on folder cards and the folder tree.

Choose active admins, staff or Data Experts, search/filter the list and tick the
people you want. Apply access saves the choices and sends personal notifications
to newly added recipients. Shared with me and notification links open the shared
folder with view/download access. Unticking removes that direct folder grant.
The owner retains editing, uploads, rename, deletion and sharing control.
Files still occupy the owner's existing 1 GB; sharing does not duplicate them.

IF THE PAGE STILL LOOKS OLD
Use the staff installation check above. Missing files mean this ZIP was not
extracted into the folder serving the live system; a missing table means the SQL
was not imported into the live SLPS database. If all checks are installed but the
old screen remains after Ctrl+F5, ask the hosting provider to refresh the PHP OPcache
and any page cache for the SLPS application. The check reads files on disk; it
cannot confirm that a hosting cache has reloaded the running code.

No database connection configuration is replaced. No emails are used.

VALIDATION
Passed the account checklist/search/filter/tick/apply flow, opening sharing without
a selected folder, shared reader, source-editor fallback and folder context-menu
tests. Changed PHP and JS syntax checked. ZIP integrity/extraction bytes checked.
Live PHP/MySQL and browser rendering were unavailable; this package does not claim
that the update is already installed on the hosted server.
