Skip to content
/ acl2 Public

Access Control List for Laravel with multi domain

License

Notifications You must be signed in to change notification settings

laraturka/acl2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acl

Role Based Access Control for Laravel

Copy migrate and seed files and migrate with seed.

Add route middleware for acl app/Http/Kernel.php 'acl' => \Laraturka\Acl\AclMiddleware::class,

Add AclPolicy referance to Providers. app/Http/Providers/AuthServiceProvider.php

User::class => AclPolicy::class,

Create route group with middleware

Route::group(['prefix'=>'admin', 'middleware' => ['auth','acl','nocache']], function() {

//what ever you want to route

});

About

Access Control List for Laravel with multi domain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages