[Repoze-dev] repoze.bfg 1.0a4 released.

2009-06-25 Thread Chris McDonough
In the recent daily parade of BFG releases, 1.0a4 is out. It's a bugfix release. Here is the change log: 1.0a4 (2009-06-25) == Features - Cause ``:segment`` matches in route paths to put a Unicode-decoded and URL-dequoted value in the matchdict for the value matche

Re: [Repoze-dev] repoze app standalone-ness

2009-06-25 Thread Chris McDonough
On 6/25/09 7:10 PM, Iain Duncan wrote: > On Thu, 2009-06-25 at 18:39 -0400, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Iain Duncan wrote: >>> I'm new to zope/repoze etc. I'm working on something where I want >>> ultimately to be able to drop it into any wsgi aware

Re: [Repoze-dev] repoze app standalone-ness

2009-06-25 Thread Iain Duncan
On Thu, 2009-06-25 at 18:39 -0400, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Iain Duncan wrote: > > I'm new to zope/repoze etc. I'm working on something where I want > > ultimately to be able to drop it into any wsgi aware environment and > > have it *just work*. I p

Re: [Repoze-dev] repoze app standalone-ness

2009-06-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Iain Duncan wrote: > I'm new to zope/repoze etc. I'm working on something where I want > ultimately to be able to drop it into any wsgi aware environment and > have it *just work*. I plan on this project being a stupidly well > document stand alone adm

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Gustavo Narea
Hello again, Cezary! Cezary said: > Just a quick question: what about repoze.who (using sql database) and > users/groups/permissions? is it also, like you said,"optional"? from what > I've seen in the docs for repoze.what quickstart, setup_sql_auth needs > user, group and permission class as argum

[Repoze-dev] repoze app standalone-ness

2009-06-25 Thread Iain Duncan
I'm new to zope/repoze etc. I'm working on something where I want ultimately to be able to drop it into any wsgi aware environment and have it *just work*. I plan on this project being a stupidly well document stand alone admin interface scaffold for cases where explicit is better than auto-generat

Re: [Repoze-dev] bfg docs

2009-06-25 Thread Iain Duncan
On Thu, 2009-06-25 at 03:43 -0400, Chris McDonough wrote: > On 6/25/09 3:34 AM, Iain Duncan wrote: > > First off, I am super impressed by the effort put into the bfg docs. The > > ratio of docs to code is fantastic and IMHO bodes very well for > > adoption. =) > > > > Second, I'm finding some small

Re: [Repoze-dev] bfg- Routes...

2009-06-25 Thread Iain Duncan
On Thu, 2009-06-25 at 12:32 -0400, Chris McDonough wrote: > On 6/25/09 5:35 AM, Iain Duncan wrote: > > On Wed, 2009-06-24 at 04:09 -0400, Chris McDonough wrote: > >> Just a heads up. > >> > >> BFG currently uses Routes (http://routes.groovie.org) to do URL pattern > >> matching. > >> > >> While fl

Re: [Repoze-dev] bfg- Routes...

2009-06-25 Thread Iain Duncan
On Thu, 2009-06-25 at 11:56 +0200, Malthe Borch wrote: > 2009/6/25 Iain Duncan : > > For me personally (admittedly a totally new user to zope/repoze) it's a > > negative to have bfg moving to share fewer components with Pylons, as > > one of the main attractions to me of bfg is it's complementary n

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Cezary Biele
Thanks for your answer Gustavo! Just a quick question: what about repoze.who (using sql database) and users/groups/permissions? is it also, like you said,"optional"? from what I've seen in the docs for repoze.what quickstart, setup_sql_auth needs user, group and permission class as arguments. but a

Re: [Repoze-dev] bfg vs buildout

2009-06-25 Thread Chris McDonough
On 6/25/09 9:08 AM, Jens W. Klein wrote: > Am Thu, 25 Jun 2009 03:54:23 -0400 schrieb Chris McDonough: > >> On 6/25/09 3:38 AM, Chris Withers wrote: >>> Shane Hathaway wrote: I'm not very familiar with pip, but I don't think that's an issue for Buildout. Buildout also has the ability to

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Gustavo Narea
Hello. (Cezary has just confirmed that he meant to say repoze.what. Sorry about the confusion) Cezary said: > I'd like to extend basic user model available in repoze, and add additional > class called "Gallery". > this addition is needed because I'd like to create an app for photo > galleries. I

Re: [Repoze-dev] bfg- Routes...

2009-06-25 Thread Chris McDonough
On 6/25/09 5:35 AM, Iain Duncan wrote: > On Wed, 2009-06-24 at 04:09 -0400, Chris McDonough wrote: >> Just a heads up. >> >> BFG currently uses Routes (http://routes.groovie.org) to do URL pattern >> matching. >> >> While fleshing out URL generation and matching support for BFG "url >> dispatch",

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Gustavo Narea
Cezary said: > ps. i'm using repoze with pylons Hold on, you're talking about the Web authorization framework *repoze.what*, not the Web application framework *repoze.bfg*, right? Cheers. :) -- Gustavo Narea . | Tech blog: =Gustavo/(+blog)/tech ~ About me: =Gustavo/about | ___

Re: [Repoze-dev] bfg vs buildout

2009-06-25 Thread Jens W. Klein
Am Thu, 25 Jun 2009 03:54:23 -0400 schrieb Chris McDonough: > On 6/25/09 3:38 AM, Chris Withers wrote: >> Shane Hathaway wrote: >>> I'm not very familiar with pip, but I don't think that's an issue for >>> Buildout. Buildout also has the ability to pin the version of all >>> packages, but I don't

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Malthe Borch
2009/6/25 Cezary Biele : > Thanks for your reply! > could you please point me to some documentation? Try looking here: http://docs.repoze.org/bfg/narr/security.html#assigning-acls-to-your-model-objects \malthe ___ Repoze-dev mailing list Repoze-dev@list

Re: [Repoze-dev] bfg- Routes...

2009-06-25 Thread Malthe Borch
2009/6/25 Iain Duncan : > For me personally (admittedly a totally new user to zope/repoze) it's a > negative to have bfg moving to share fewer components with Pylons, as > one of the main attractions to me of bfg is it's complementary nature to > pylons. And conversely, one of the turn offs for me

Re: [Repoze-dev] bfg- Routes...

2009-06-25 Thread Iain Duncan
On Wed, 2009-06-24 at 04:09 -0400, Chris McDonough wrote: > Just a heads up. > > BFG currently uses Routes (http://routes.groovie.org) to do URL pattern > matching. > > While fleshing out URL generation and matching support for BFG "url > dispatch", > I've come to the conclusion that it's prob

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Cezary Biele
Thanks for your reply! could you please point me to some documentation? cezary On Thu, Jun 25, 2009 at 11:27 AM, Malthe Borch wrote: > 2009/6/25 Cezary Biele : > > i'd be grateful for any suggestions how this should be achieved "the > right > > way" using repoze. > > The default supplied securit

Re: [Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Malthe Borch
2009/6/25 Cezary Biele : > i'd be grateful for any suggestions how this should be achieved "the right > way" using repoze. The default supplied security policy consults the ``__acl__`` attribute; you could make this attribute dynamic (descriptor) and grant permissions based on some "owner" attribu

[Repoze-dev] how to extend basic User, Group, Permission model?

2009-06-25 Thread Cezary Biele
Hi Everyone, I'd like to extend basic user model available in repoze, and add additional class called "Gallery". this addition is needed because I'd like to create an app for photo galleries. I'd like to have one user have access to many galleries and have different roles in each of them (i.e user

Re: [Repoze-dev] bfg vs buildout

2009-06-25 Thread Chris McDonough
On 6/25/09 3:38 AM, Chris Withers wrote: > Shane Hathaway wrote: >> I'm not very familiar with pip, but I don't think that's an issue for >> Buildout. Buildout also has the ability to pin the version of all >> packages, but I don't think that's what Jens and I want in this case. > > yep, the only

Re: [Repoze-dev] bfg docs

2009-06-25 Thread Chris McDonough
On 6/25/09 3:34 AM, Iain Duncan wrote: > First off, I am super impressed by the effort put into the bfg docs. The > ratio of docs to code is fantastic and IMHO bodes very well for > adoption. =) > > Second, I'm finding some small typos that could be confusing to total > beginners. What's the routin

Re: [Repoze-dev] bfg vs buildout

2009-06-25 Thread Chris Withers
Shane Hathaway wrote: > I'm not very familiar with pip, but I don't think that's an issue for > Buildout. Buildout also has the ability to pin the version of all > packages, but I don't think that's what Jens and I want in this case. yep, the only thing buildout is missing is a command to dump

[Repoze-dev] bfg docs

2009-06-25 Thread Iain Duncan
First off, I am super impressed by the effort put into the bfg docs. The ratio of docs to code is fantastic and IMHO bodes very well for adoption. =) Second, I'm finding some small typos that could be confusing to total beginners. What's the routing for helping out here? thanks Iain