On 11/17/05, Matthew Bevan <[EMAIL PROTECTED]> wrote: > I certainly hope there is a similar dict-based argument that can > override Identity permission requirements. I would like to > programatically protect certain pages based off of, say, SQLObject > criteria. But that's a different issue. ;)
This is the reason that authentication/authorization code in Rails is generated. The goal for turbogears.identity is to provide something basic that works out of the box. Beyond that, all of the pieces necessary should be replaceable so that you can implement whatever logic for authentication or authorization is required. Things will become very complex very quickly if the built-in auth code tries to tackle everything. So, rather than make things super complex the idea is to make it simple to implement the parts you need. Kevin

