Changed api key verifying to client instead of server
This commit is contained in:
@@ -5,11 +5,6 @@ RETURNS Geometry AS $$
|
||||
plpy.debug('Entering geocode_admin0_polygons')
|
||||
plpy.debug('user_id = %s' % user_id)
|
||||
|
||||
#-- Access control
|
||||
#-- TODO: this should be part of cdb python library
|
||||
if user_id == 'publicuser':
|
||||
plpy.error('The api_key must be provided')
|
||||
|
||||
#--TODO: rate limiting check
|
||||
#--TODO: quota check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user