backend - Some questions about developing management backend based on Symfony?
怪我咯
怪我咯 2017-05-16 16:43:52
0
3
588

I have recently been using Symfony to develop the management backend. After reading the official documents, I still have some questions in my mind?

Don’t know how to use Symfony to develop role-based permission management?

I hope the experts can give some tips?

In previous solutions, we usually define tables such as User, Role, UserRole, Permission, RolePermisson?

When using Symfony to solve permission problems, is this definition still needed?

Also, I currently use MongoDB for the database layer. Are there any suggestions for optimizing the table structure when dealing with user role permissions?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all (3)
PHPzhong

Generally, there is no need to develop, just use it directly

http://symfony.com/doc/current/bundles/FOSUserBundle/index.html

Or higher-level packaged background components are enough. No need to write anything.

    Ty80

    There is actually an official case for your problem, you can solve it using ACL
    http://symfony.com/doc/current/cookbook/security/acl.html

      刘奇

      Generally, there is no need to develop, just use it directly

      http://symfony.com/doc/current/bundles/FOSUserBundle/index.html

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!