I was wondering if there was any improvement of the security component documentation ongoing or not? If true, when will it be released?
In any case, do you know any tutorials which explain in detail the functionning of every pieces of the security component?
you have different way to aboard security layer depending on what you need:
=> Help to restrict acces to pages and Roles
=> The most usefull : FosUserBundle. Help to manage user and authentification (how to create an auth token…)
=> Help to create some rights on items (ex : you have en entity Comment. Then you create a new comment and give ACL to have ownership of the comment to let you edit this item the way you want)
=> It’s the piece that checks if you can access the element of not
Links :
Firewall : http://symfony.com/doc/current/book/security.html
Auth : http://symfony.com/doc/current/cookbook/security/custom_authentication_provider.html
ACL : http://symfony.com/doc/current/cookbook/security/acl.html
Voter : http://symfony.com/doc/current/cookbook/security/voters.html