When you insert records in auth_permission via Python script BE SURE to set 
the records field.

Otherwise, auth.has_permission always returns False.  This, in turn, makes 
auth.requires_permission return False.


-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to