On Monday, February 23, 2015 at 3:16:47 AM UTC-8, dangne...@juno.com wrote: > > Instructions in the manual chapter called "Overview": > > "Using appadmin create a group "manager" and make some users members of > the group. They will be able to access > > http://127.0.0.1:8000/images/default/manage"; > > > I don't know what this means. I can get to appadmin: > http://127.0.0.1:8000/images/appadmin > > where I see a list of existing tables: > > db.image > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.image.id%3E0> > db.post > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.post.id%3E0> > db.auth_user > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_user.id%3E0> > db.auth_group > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_group.id%3E0> > db.auth_membership > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_membership.id%3E0> > > db.auth_permission > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_permission.id%3E0> > > db.auth_event > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_event.id%3E0> > db.auth_cas > <http://127.0.0.1:8000/images/appadmin/select/db?query=db.auth_cas.id%3E0> > > I have already made three users and I assume one should be made manager > and the others members, but do I make a new table for this or use > db.auth_group? >
I believe that what you are being instructed to do is add new records to auth_membership that associate the manager role with one user and the mangement group ID with that user and with the sub-managers. It's been a while since I focused on that exercise, so I'm not quite able to tell you how to do the manager role. One way would be to have a second group ID and add only the more privileged user to that more exclusive group. If the "manage" group (and, if needed, the "real manager" group) don't exist, you just make new entries in the auth_group table. I don't hink you need to make any more tables; you're just adding entries to the existing auth mechanisms. Sorry I can't be more precise, but I do hope this helps. > I know a little sql and a little python, but very very newbie. I have > considerable familiarity with html, css, and was getting pretty deep into > beginner javascript when I decided php was not for me and switched to > python, which eventually led me to web2py since other avenues seemed not > promising for my high level of inexperience. > > http://web2py.com/books/default/chapter/29/3#An-image-blog > > Web2Py is easy, and the javascript experience should help you read python, but there is more to it than putting a bulb in a socket and turning the switch :-) I think you'll find that the group here is pretty helpful. I read every post in the hope that I'll absorb some of the wisdom. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.