Sounds like those auth_ tables are not defined. If you already have those 
lines in your db.py then the tables should be listed in your apadmin. If so 
then you just follow the instructions in my other post. 
https://groups.google.com/d/msg/web2py/AEBFWeS8YSA/2LWC4NqdaiAJ to get the 
permissions set correctly.




On Thursday, October 18, 2012 11:21:39 AM UTC-5, mikech wrote:
>
> Thanks Bill.
> What I'm trying to find out is how do I access the tables involved with 
> security.  Do I need to create views, or is there already some associated 
> with the appadmin?
>
> On Wednesday, October 17, 2012 7:55:02 PM UTC-7, Bill Thayer wrote:
>>
>> Try this:
>> In db.py:
>> from gluon.tools import Auth, Crud, Service, PluginManager, prettydate
>> auth = Auth(db)
>> crud, service, plugins = Crud(db), Service(), PluginManager()
>>
>> auth.define_tables(username=True) # arg makes it so you can use a 
>> username instead of email to login
>>
>>
>>
>> On Wednesday, October 17, 2012 6:20:48 PM UTC-5, mikech wrote:
>>>
>>> I'm working thru the book again, and when I get to the image tutorial it 
>>> mentions adding a manager group to the auth tables in appadmin: 
>>>
>>> "Using appadmin create a group "manager" and make some users members of 
>>> the group. They will not be able to access"  
>>>
>>> I cannot find where this is, when I bring up the appadmin it just shows 
>>> the two tables of the application - image and comment.
>>>
>>

-- 



Reply via email to