Since our Role Demo application is designed to be the base for your own more complex websites, for our Role Demo sample, we will have only the following simple default roles: Administrator and Guest.
You will be able to add more roles via user interface of the website.
We will have the following default permissions:
||Manage users (add/edit/delete).|
||Manage roles (add/edit/delete).|
||Manage permissions (add/edit/delete).|
||View any user profile in the system.|
||View own profile.|
The first three permissions will allow Administrator to manage users, roles and permissions via user interface.
The last two permissions (
profile.own.view) are mostly for demonstration of
how Rbac works and can in theory be deleted from your own website if you do not have the user profile page.
profile.any.view allows Administrator to access http://localhost/application/settings/<user_id> page,
which is the user profile of a user with the given ID.
profile.own.view allows Guest to access their own profile page http://localhost/application/settings.
You will be able to create additional permissions via the user interface of the website.