permissions - Specific rights for a role in symfony 3 -
i newbie in symfony framework , have create web application. problem have autorization of defined actions in code.
i load users out of database roles (many-to-many). in security.yml work acls different routes. teacher told me, should implement specific rights roles. means, have roles rights (many-to-many), can create new roles adding rights. example might "editing users" in database. can specify granually rights "editing", "persisting" , on.
how can implement in controllers/twig-templates? in twig work isgranted()-function, there can check roles?
thanks :-)
Comments
Post a Comment