Why do you say that? The exception is raised by the app controller, not by 
web2py. There is not enough info here to help debug.

massimo

On Wednesday, 6 June 2012 21:17:04 UTC-5, craley wrote:
>
> Traceback (most recent call last):
>
>   File "/srv/web2py/gluon/restricted.py", line 204, in restricted
>     ccode = compile2(code,layer)
>   File "/srv/web2py/applications/dashboard/controllers/admin.py" 
> <https://dashboard.ecomanaged.net/admin/default/edit/dashboard/controllers/admin.py>,
>  line 258, in <module>
>   File "/srv/web2py/gluon/globals.py", line 172, in <lambda>
>     self._vars = None
>   File "/srv/web2py/gluon/tools.py", line 2533, in f
>     def not_authorized(self):
>   File "/srv/web2py/applications/dashboard/controllers/admin.py" 
> <https://dashboard.ecomanaged.net/admin/default/edit/dashboard/controllers/admin.py>,
>  line 183, in security
>     raise StandardError,[auth.has_permission(name = 'read',table_name = 
> 'location',user_id = user['id'],record_id = 
> target_location[0]['id']),auth.has_permission(name = 'read',table_name = 
> 'location',group_id = auth.user_group(user['id']),record_id = 
> target_location[0]['id'])]
> StandardError: [False, True]
>
>

Reply via email to