Up-to-date with version 2.3.* of ZfcRbac
Welcome to the official ZfcRbac documentation. This documentation will help you quickly understand how to use
and extend ZfcRbac.
If you are looking for some information that is not listed in the documentation, please open an issue!
-
Introduction
- Why should I use an authorization module?
- What is the Rbac model?
- How can I integrate ZfcRbac into my application?
-
Quick Start
- Specifying an identity provider
- Adding a guard
- Adding a role provider
- Registering a strategy
- Using the authorization service
-
Role providers
- What are role providers?
- Identity providers
- Built-in role providers
- Creating custom role providers
-
Guards
- What are guards and when to use them?
- Built-in guards
- Creating custom guards
-
Strategies
- What are strategies?
- Built-in strategies
- Creating custom strategies
-
Using the Authorization Service
- Injecting the AuthorizationService
- Checking permissions
- In a service
- In a controller's action using the isGranted controller plugin
- In a view using the isGranted view helper
- Permissions and Assertions
-
Cookbook
- A real world example
- Best practices
- Using ZfcRbac with Doctrine ORM
- How to deal with roles with lot of permissions?
- Using ZfcRbac and ZF2 Assetic
- Using ZfcRbac and ZfcUser