PHP Access Control System

前端 未结 5 1512
长情又很酷
长情又很酷 2020-12-30 11:00

I am part of a team creating a web application using PHP and MySQL. The application will have multiple users with different roles. The application will also be used in a geo

5条回答
  •  悲哀的现实
    2020-12-30 11:56

    I have similar solution to build and so far I've decided to use specifications and roles, so in fact one role would have some privilege specifications attached. If they all are satisfied, the permission is granted, otherwise - it falls back to the resource default access.

    I was looking over to find someone already implementing the solution, but it seems no one did. Let's hope it won't be a fail :)

提交回复
热议问题