make private annotations private

This commit is contained in:
j 2011-02-11 15:51:25 +05:30
commit b13c43c832
4 changed files with 38 additions and 8 deletions

View file

@ -314,7 +314,7 @@ def getItem(request):
if item.access(request.user):
info = item.get_json()
info['stream'] = item.get_stream()
info['layers'] = item.get_layers()
info['layers'] = item.get_layers(request.user)
response['data']['item'] = info
else:
response = json_response(status=403, text='permission denied')