[symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-20 Thread realmfoo
There is "fictional" object with identity "class" only to call insertClassAce and check if user can create comments, what is also based on class ace. So the question is how to avoid of using fictional object and work with class aces. -- If you want to report a vulnerability issue on symfony, plea

[symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-18 Thread realmfoo
On 18 май, 10:23, Tim Nagel wrote: > You use a class OID. > > See CommentBundle's Acl > implementation:https://github.com/FriendsOfSymfony/CommentBundle/blob/master/Acl/Sec... Knownly using of invalid identifier leads to unnesessary sql query: SELECT a.ancestor_id FROM acl_object_identities

[symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-17 Thread realmfoo
On 17 май, 23:12, Carl wrote: > I think roles would make more sense when it comes to accomplishing what you > want to do here. After the object has been created and the ACL has been > updated, then you can check to see if the user has permission to view the > object. Then why do we have permissio

[symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread realmfoo
+1 -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe fro

[symfony-users] ACL How to check if user can create object without object itself?

2011-05-16 Thread realmfoo
I mean, is there some thing like this? if ($this->get('security.context')->isGranted('VIEW', new ClassIdentity('EntityBundle\Entity'))) { ... } Or it is only possible by using roles? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.co

[symfony-users] ACL Retrieving all aces by security user identity

2011-05-12 Thread realmfoo
Is it planned to add method for retrieving all ace records for specific user security identity? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users"