ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

How to use the security bundle of Symfony in my SaaS ERP?

How to use the security bundle of Symfony in my SaaS ERP?

In my SaaS ERP, there are takeaways below:

  1. Both User and Role modules are compliant with the core infrastructure, including editing, listing and viewing.
  2. A user can have more than one roles. At the same time, a role can be assigned to more than one user.
  3. The permissions of a user depends on all roles assigned to him. The common permissions of all roles are the actual authentication of the user.
  4. When determining whether a user has one permission, a simple funtion can be invoked.
返回列表