On Fri, Feb 14, 2014 at 8:49 AM, <[email protected]> wrote: > I agree with you :this should be a tgext.* package. I'd be happy with > something similar to what symfony framework offers: > http://symfony.com/fr/doc/current/cookbook/security/acl.html > > What about the open issue? Is there any work-in-progress stuff? I would be > pleased to help (or to build a tgext package on my own, if no work is going > on). > > As far as I know there is no work currently started, it has just been discussed. You are free to propose an implementation. I'm fine with keeping ACL separated from objects, it makes easier to attach them to already existing models.
Probably it makes sense to make it available through SQLAlchemy by providing a custom Session (much like TG does for master-slave: http://turbogears.readthedocs.org/en/latest/cookbook/master-slave.html ) so that users don't have to write explicit queries and can plug ACL into third party extensions like tgext.crud or even plugged applications. The only side effect is that it would require some attention so that the user can choose from which Session class the ACLSession should inherit to be able to mix Master-Slave with ACL. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

