By assigning a permission ID to each link, when you have this ID, it means that you can access it, which is called an ACL?
Or is it nothing?
More and more confused ~ ~ Beg for explanation. Better be a little more detailed.
Reply content:
By assigning a permission ID to each link, when you have this ID, it means that you can access it, which is called an ACL?
Or is it nothing?
More and more confused ~ ~ Beg for explanation. Better be a little more detailed.
This is a simple filter, like when landing with token, without token jump to landing page.
An ACL is an access control mechanism that is linked directly to the user's permissions. This is an excellent ACL class for Zend Framework frameworks.
RBAC is role-based access control, where users are only associated with roles, and roles can have different permissions.
Take thinkphp as an example, RBAC has a basic five tables: think_user (User table), Think_role (User Group table), Think_node (Operation node), Think_role_user (user and user groups corresponding), THINK_ Access (corresponding to each action and user group).
Online This example of the code is more, the most simple and rough is that you go through this process can clarify the correlation relationship, the most basic relationship between the clear, and then complex authority system is so back to the matter, nothing more than a table association.