For demonstration, in this chapter, we will create a real-life Role Demo website that shows how to:
Zend\Permissions\Rbaccomponent to implement role-based access control
The Role Demo sample will be based on the User Demo sample that we created in the previous chapter.
To download the Role Demo application, visit this page and click the Clone or Download button to download the code as a ZIP archive. When download is complete, unpack the archive to some directory.
Then navigate to the
roledemo directory containing the
source code of the Role Demo web application:
/using-zf3-book-samples /roledemo ...
The Role Demo is a website which can be installed on your machine.
Detailed instructions on how to install the Role Demo sample can be found in README.md file located in the sample directory.