Model has the line: auth.define_tables(username=False, signature=False) 
I'm running web2py version 2.5.1 over https with Recaptcha all; that works 
fine.
I know the file exist, I can see them with SQLite Database Browser


On Friday, August 9, 2013 5:35:39 PM UTC-4, Joe Barnhart wrote:
>
> The appadmin application definitely DOES show the auth_* tables for me. 
>  Maybe you didn't cause the tables to be built?  You need to put in the 
> auth.define_tables() somewhere in your models to cause web2py to build them.
>
> -- Joe
>
> On Friday, August 9, 2013 2:19:42 PM UTC-7, Rob Paire wrote:
>>
>> I would like to create security groups for my newly minted web2py app, 
>> and so I have been reading the chapter on Access 
>> Control<http://www.web2py.com/books/default/chapter/29/09/access-control#Access-Control>;
>>  
>> in the section titled *Authorization *it states: "You can create groups, 
>> give membership and permissions via *appadmin* or programmatically using 
>> the following methods..."  
>>
>> *My question is: *how do you edit the security tables using *appadmin*? 
>> Browsing to: *[app]/appadmin/index* does not show any auth_??? tables. 
>> What am I missing? 
>>
>> Ultimately, what I would like to do is have something like this in a view:
>> {{if auth.requires_membership('agents'):}}  
>>     <some html>
>> {{elif auth.requires_membership('double_agents'): }}
>>     <other html>
>> {{else:}}
>>     <catch-all>
>> {{pass}}
>>
>>

-- 

--- 
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/groups/opt_out.


Reply via email to