How To Handle Permissions Like A Senior Dev

Опубликовано: 12 Ноябрь 2024
на канале: Web Dev Simplified
540,745
17k

Try Clerk: https://go.clerk.com/b2b-orgs

Permission systems are in every single app, but most developers don’t spend any time planning out their system which results in buggy, hard to maintain code. In this video I will cover how to create multiple levels of permission systems from very basic all the way up to advanced systems that many companies charge thousands of dollars for.


📚 Materials/References:

GitHub Code: https://github.com/WebDevSimplified/p...
Clerk Organization Docs: https://go.clerk.com/docs-orgs



🌎 Find Me Here:

My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon:   / webdevsimplified  
Twitter:   / devsimplified  
Discord:   / discord  
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified


⏱️ Timestamps:

00:00 - Introduction
01:17 - Problems With Roles
03:00 - RBAC (Role Based Access Control)
06:20 - RBAC Limitations
08:48 - Clerk Implementation
14:40 - Database Diagrams
19:23 - ABAC (Attribute Based Access Control) Explained
21:08 - Clerk Organization Implementation/Adding Multiple Roles
24:18 - ABAC Implementation
33:22 - Clerk ABAC Implementation


#Permissions #WDS #Authorization