Gustavo Narea schrieb:
>> On Wednesday February 4, 2009 16:40:45 Christoph Zwerschke wrote: 
>> I.e. TG apps rely on a certain structure of users, groups and 
>> permissions anyway.
> No, they don't. You can rearrange _everything_ as you want, as long 
> as you let repoze.what know where to find the groups and permissions
> -- it's not even necessary to let TG2 know about it, since that has
> nothing to do with TG.

That's not what I meant. I meant currently existing TG apps are based on
a certain data model with users, groups and permissions, which have a
certain semantics that is often enmeshed in the rest of the data model
and checked directly in SQL queries anyway. If predicate checkers and
template variables suddenly use a completely different semantics and
concept of groups and permissions, things may not fit together any more.

But never mind. It was not so important.

> I'd prefer the previous suggestion.
> 
> This one seems ugly from my point of view, and it's forward 
> incompatible too: In repoze.what v2, the groups/permissions-based
> pattern will be yet another authorization pattern. And all those
> patterns will be kept in repoze.what.patterns.*.

Probably we are talking at cross purposes again because this thread is
already too fragmented. I was referring to the __nonzero__ hack which
does not depend on any pattern.

So ok, I think I should really summarize the different ideas in a new
thread, where we can sort things out :)

-- Christoph


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to