I uninstalled the images app and reinstalled it using the wizard rather 
than the new simple app option.  The auth tables show up now.
So, it depends on how the app is setup
Mike

On Thursday, October 18, 2012 10:59:02 AM UTC-7, Massimo Di Pierro wrote:
>
> Is it possible you have two db = DAL(...) in your code (perhaps in 
> different model files)?
>
> On Thursday, 18 October 2012 12:36:00 UTC-5, mikech wrote:
>>
>> Hi Bill don't want to take up much of your time.  I've verified that the 
>> auth_* tables are defined using a sqllite2009 pro.  I've included a screen 
>> shot attached.  And I've also included a screenshot of the appadmin page 
>> which shows just 2 files image and comment.   This is consistent with the 
>> image in the book by the way. 
>>
>>
>>
>> On Thursday, October 18, 2012 9:21:39 AM UTC-7, 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