Workshop 4
summary
Builds a file‑share token authenticator that reads a request token, adds a liveToken finder to the model, and uses a finder-based lookup to return authentication results; adds route scaffolding with the new brace placeholder syntax and named/path helpers so token URLs are routed as a token param; hooks the authorization middleware, generates entity and table policies plus a scoped query to limit file lists by group; demos a console command that lists and deletes expired share tokens and confirms the deletes.
AI-written summary · about
chapters (20)
- 0:00Start
- 0:51Authenticate against a File Share Link
- 10:53Custom Rows
- 14:18Placeholder Syntax
- 19:15Share Tokens
- 26:53Share Links
- 35:12Integrate Authorization
- 36:13Access Control
- 43:09Generate a Policy
- 43:35File Sharing Policy
- 43:45Who Can Access a File Share Link
- 47:27Function Before Render
- 1:01:57Files Controller
- 1:02:38Group Based Policies
- 1:08:22Authorization Checks
- 1:10:10Scopes
- 1:23:21Console Commands
- 1:24:47Option Parser
- 1:30:54Find Expire Tokens
- 1:35:12Colorize Output
