Richard, I will make it available soon. I built it for an app that needed to remain pretty damn stable (I know, I know...) so I was slowly and cautiously tracking changes to Symfony2. The app was frozen at one point and changes lagged even more. It needs to be updated in a few areas before it will work with the latest version. I'll add it (and the OAuthBundle) to symfony2bundles.org when it's using the latest conventions.
If you're unfamiliar with the Django auth system, it isn't tied to the controller at all, but I added a custom exception listener service for convenience in controller methods. It does support object-level permissions in theory, but neither my default backend nor Django's implement this functionality out of the box. My version is also too heavily dependent on Doctrine2, and I'll eventually move all of that to the backend, which will diverge from Django's design. Once I get it cleaned up, maybe you and I should talk about combining our work. Greg On Sep 14, 2010, at 10:38 AM, Richard D Shank wrote: > The AclBundle is in a state of flux right now, but I'm trying to get > something useful and stable out of it. I'm one of those people crazy enough > to build a site with a moving target and I needed a way to attach > authorization to individual objects. > > I did look on github for another authorization bundle before I started, so I > wouldn't be duplicating efforts. The only thing I saw at the time was > SecurityBundle, but it appeared to work on the controller and I needed finer > control. > > Greg, I would suggest putting your AuthBundle on github. Personally, I > would like to see your approach and I know that there was a project last week > that could have used an authorization bundle. > > Richard > > On 09/14/2010 07:34 AM, Greg Thornton wrote: >> Slightly OT, but I too hadn't seen the AclBundle, nor the SecurityBundle >> before. I wrote my own AuthBundle about 6 months ago, which is an (almost) >> exact clone of Django's auth module with a Doctrine2 backend. Of course that >> has a built in, albeit very rudimentary ACL system. I also wrote my own >> OAuthBundle, which requires the native OAuth PHP extension. So although I've >> reinvented the wheel, or at least a triangle, I'm sure I'll be migrating to >> whichever are deemed the "official" auth/security/ACL bundles in the future. >> In the meantime, is there a centralized list of support bundles in >> development somewhere so that others might avoid duplicating efforts and can >> contribute to existing code? If such a list does not exist, I have no >> problem taking credit for the idea. =) >> >> Greg >> >> On Sep 14, 2010, at 9:05 AM, Jeremy Mikola wrote: >> >> >>> I actually haven't seen the AclBundle (looks like it came out last >>> month). We were using Zend_Acl with a homemade bundle a few months >>> ago, but gave that up after deciding we didn't need ACL at the time. >>> I have seen SecurityBundle and DoctrineUserBundle, but they were a bit >>> too new to start using when we commenced development. Both look very >>> promising though, and I hope they become staples once Fabien decides >>> how Symfony2 will implement security (SecurityBundle might be a great >>> project to pick up). >>> >>> We have a hard enough time keeping our production app up to date with >>> the Symfony master, so I'm a bit hesitant to migrate over to community >>> bundles until Symfony's feature-set is a bit more are locked down :) >>> >> > > -- > 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 developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en -- 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 developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
