1. The idea of bundling Mail, Auth and Crud in tools.py seems
shortsighted.

Mail isnt specific to either of the other classes. I can use Auth
without Crud. How many tools will be added to tools.py before it
becomes unmanageable? and then what will you call the overflow file?
tools2.py?

2. All use of Auth seems to be couched in the context of Crud.

It should be (and is) possible to use Auth independent of Crud and
that should be the primary form of its demonstration.  In fact, Crud
is really about something totally separate: the defining of url
request formats to avoid writing stub functions.  Grouping the two
together is unnecessary and confusing. Crud, REST and basic cherrypy
request formats are alternative request formats that have nothing to
do with authentication per se.

3. So I don't want to use the Crud request format and I want to use
authentication.

Let's say "the admin user" wants to protect the widget record with
id=33 from everyone but him/herself.  How do I code the app?  Do I
have to code something in every function that could read/list/update/
delete that record? and if so what do I code?  How do I know whether
authentication is 'on' and what resources I need to check?

4. My company already has an authentication framework.

How can I use web2py and link to an existing authentication
framework.  I think this highlights the weakness of the current
"plugin app" approach.  The authentication is the "plugin" and this
need to be integrated with the core via an API.  The pages/functions
that maintain the authentication database tables are the "app" and
this doesn't even have to exist to use authentication (if the db
aspect is maintained elsewhere).

(Retires to bunker and puts on tin helmet.)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to