# HG changeset patch # User casties # Date 1288809015 -3600 # Node ID 3905385c8854425df2abd35b76f15f9a8624b01c # Parent e81d034b28a54543eeee24591595e856fc8bba59 small fish diff -r e81d034b28a5 -r 3905385c8854 RestDbGisApi.py --- a/RestDbGisApi.py Tue Oct 26 21:23:19 2010 +0200 +++ b/RestDbGisApi.py Wed Nov 03 19:30:15 2010 +0100 @@ -73,7 +73,6 @@ if user is None: user = self.REQUEST.get('AUTHENTICATED_USER',None) logging.debug("isAllowed action=%s schema=%s table=%s user=%s"%(action,schema,table,user)) - # TODO: check permissions from meta data table if action == "create": if user is not None and str(user) != 'Anonymous User': # any authenticated user can create @@ -91,6 +90,7 @@ else: return False + # anything else is allowed return True def setTableMetaTypes(self,schema,table,fields,user=None): diff -r e81d034b28a5 -r 3905385c8854 zpt/HTML_schema_usertables.zpt --- a/zpt/HTML_schema_usertables.zpt Tue Oct 26 21:23:19 2010 +0200 +++ b/zpt/HTML_schema_usertables.zpt Wed Nov 03 19:30:15 2010 +0100 @@ -5,7 +5,7 @@