Added automatic ensure index on all the declared collections.

Something I can't figure out is how to go about permissions.
Implementing the exact same behavior of the SQLAlchemy based version
would require to declare a collection for Groups and Permissions,
something that I currently avoided as groups could have been quickly
implemented as an array of strings. Permissions on the other hand as
require a relation to the group they are part of would require use to
create a group entity.

This way we would reiterate the issue of having to perform multiple
lookups for each request to identify the user and his permissions,
while the current behavior can identify the user and his groups doing
only one request to the db.

-- 
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