Repository navigation
Changes
- Restrict certificate HTML
showto authenticated owners or users who can update the course (#137). Guests and signed-URL-only access are no longer allowed. - PDF download is unchanged: still behind
auth, and both Cloudflare and Browsershot drivers render from an HTML string (they do not fetch the show URL).
Auth rules (GET lms/certificates/{course}/{user})
- Allowed: logged-in certificate user (
Auth::id() == $userId) - Allowed: logged-in user with
can('update', $course)(admin preview) - Denied: guests, other users, completion-only / signed-URL guest access
Tagged from 4.x at 49959a3.