Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
/ rbac Public archive

Create secure controllers with routing system in Laravel.

Notifications You must be signed in to change notification settings

amirhnajafiz-archive/rbac

Repository files navigation

Role Base Access Controller (RBAC)

Role-based access control (RBAC) is a method of restricting network access based on the roles of individual users within an enterprise. Now in this repository we use this concept in order to create an rbac mechanism in Laravel.

Implementations

All we need to do is to set roles as enums for our users. For example we can have admin, user.

Then we set a middleware in order to check the role of the user from user stored data.

About

Create secure controllers with routing system in Laravel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published