---
title: "Laravel Roles/Permissions: Complex Multi-Clinic Project"
url: https://daily.dev/posts/laravel-roles-permissions-complex-multi-clinic-project-zqbzdqedd
source_url: https://www.youtube.com/watch?v=Fe0VSwpZpaU
type: video:youtube
source: "Laravel Daily"
published: 2024-10-08T05:20:03.816Z
updated: 2024-10-08T05:20:12.702Z
tags: ["webdev", "php", "laravel"]
reading_time: 13
upvotes: 30
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Laravel Roles/Permissions: Complex Multi-Clinic Project

**[Laravel Daily](https://daily.dev/sources/laraveldaily)** · 13 min read · 30 upvotes · 0 comments

## Summary

Managing roles and permissions in a complex multi-clinic project using Laravel involves using Spatie's Laravel Permission package, global scopes, and enums to manage roles within different teams. The project uses a structured, policy-driven approach to permissions, showcasing features like CRUD operations managed by different roles such as master admin, clinic owner, and staff/doctor. Automated testing is emphasized to ensure security, given the high cost of bugs related to unauthorized access.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=Fe0VSwpZpaU>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/laravel-roles-permissions-complex-multi-clinic-project-zqbzdqedd)
