tubeshowcase●1,675,570 videos♡ My collection 0
← Learn to Code

Learn to Code55:45

How to Build a Permission System that Scales to Enterprise

Web Dev Simplified ↗

From the creator

Every app needs to handle authorization (aka permission), but doing so in an easy to extend and clean way is very hard. In this video I will show you how to build an incredibly robust permission system that hooks into your data access layer and UI by using CASL as the backbone of our permission system. 📚 Materials/References: GitHub Code: https://github.com/WebDevSimplified/casl-crash-course Better Auth Crash Course Video: https://youtu.be/WPiqNDapQrk Data Access Layer Video: https://youtu.be/Av7KqJVLiYc 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified ⏱️ Timestamps: 00:00 - Introduction 01:00 - Starting code 01:37 - Casl Setup 08:03 - Type Safety Setup 13:37 - Implementing basic permission checking 16:38 - Advanced permission checking 37:25 - Basic query permission checking 43:00 - Advanced query permission checking #CASL #WDS #Authorization

Published 2025-11-04 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code