Hello everyone, how is the permission control system generally implemented? Rabc, auth permission authentication? Hello everyone, how is the permission control system generally implemented? Rabc, auth permission authentication?
Reply content:
Hello everyone, how is the permission control system generally implemented? Rabc, auth permission authentication?
Do you know, people?
It depends on the level of permission control required by the system, such as rabc node control or auth rule control.
Auth2.0
Each has its own advantages and disadvantages,
Refer to PHPCMS permission design:
PHPCMS background permission design instructions
I will talk about my experience in permission control. The project adopts the MVC Architecture. Then, permission control is based on each action. A group of actions belong to one permission node and users belong to different roles, then, assign a permission node to the role. The user inherits the permission node of the role.