In this video, we are going to restrict access to projects so that you can only see projects that you own. In addition, we will turn on logging for our database queries.
Steps:
1. Create a new property for User that fetches all of the projects owned by a user
2. Use this new property in the ProjectController to only returned owned projects
3. Turn on logging for Ozone/Ktorm in order to see the underlying sql queries being used to access our data
Source Code:
https://github.com/alpascasts/fireplace/releases/tag/v0.6.0
Download
0 formats
No download links available.
Projects: Restricting Access to Projects | NatokHD