├── .gitignore ├── composer.json ├── readme.md ├── readme_rus.md ├── src └── Rbac │ ├── Contracts │ ├── Assignable.php │ ├── RbacContext.php │ ├── RbacContextAccessor.php │ └── RbacManager.php │ ├── Facades │ └── Rbac.php │ ├── Item.php │ ├── ItemsRepository.php │ ├── Manager.php │ ├── Middleware │ └── RbacMiddleware.php │ ├── Permission.php │ ├── RbacServiceProvider.php │ ├── Role.php │ ├── Rule.php │ ├── Traits │ └── AllowedTrait.php │ └── install │ ├── Rbac │ ├── actions.php │ └── items.php │ └── config │ └── rbac.php └── tests ├── BladeTest.php ├── RbacTest.php ├── User.php ├── actions.php ├── bootstrap.php ├── items.php ├── test.blade.php └── test.compiled.php /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /tmp 3 | composer.lock -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/composer.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/readme.md -------------------------------------------------------------------------------- /readme_rus.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/readme_rus.md -------------------------------------------------------------------------------- /src/Rbac/Contracts/Assignable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Contracts/Assignable.php -------------------------------------------------------------------------------- /src/Rbac/Contracts/RbacContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Contracts/RbacContext.php -------------------------------------------------------------------------------- /src/Rbac/Contracts/RbacContextAccessor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Contracts/RbacContextAccessor.php -------------------------------------------------------------------------------- /src/Rbac/Contracts/RbacManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Contracts/RbacManager.php -------------------------------------------------------------------------------- /src/Rbac/Facades/Rbac.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Facades/Rbac.php -------------------------------------------------------------------------------- /src/Rbac/Item.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Item.php -------------------------------------------------------------------------------- /src/Rbac/ItemsRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/ItemsRepository.php -------------------------------------------------------------------------------- /src/Rbac/Manager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Manager.php -------------------------------------------------------------------------------- /src/Rbac/Middleware/RbacMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Middleware/RbacMiddleware.php -------------------------------------------------------------------------------- /src/Rbac/Permission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Permission.php -------------------------------------------------------------------------------- /src/Rbac/RbacServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/RbacServiceProvider.php -------------------------------------------------------------------------------- /src/Rbac/Role.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Role.php -------------------------------------------------------------------------------- /src/Rbac/Rule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Rule.php -------------------------------------------------------------------------------- /src/Rbac/Traits/AllowedTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/Traits/AllowedTrait.php -------------------------------------------------------------------------------- /src/Rbac/install/Rbac/actions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/install/Rbac/actions.php -------------------------------------------------------------------------------- /src/Rbac/install/Rbac/items.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/install/Rbac/items.php -------------------------------------------------------------------------------- /src/Rbac/install/config/rbac.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/src/Rbac/install/config/rbac.php -------------------------------------------------------------------------------- /tests/BladeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/BladeTest.php -------------------------------------------------------------------------------- /tests/RbacTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/RbacTest.php -------------------------------------------------------------------------------- /tests/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/User.php -------------------------------------------------------------------------------- /tests/actions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/actions.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /tests/items.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/items.php -------------------------------------------------------------------------------- /tests/test.blade.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/test.blade.php -------------------------------------------------------------------------------- /tests/test.compiled.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartCrowd/laravel-rbac/HEAD/tests/test.compiled.php --------------------------------------------------------------------------------