1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 20:08:19 +00:00

[folder perm, share] select contacts: enable search contact name

This commit is contained in:
llj
2015-04-30 21:19:35 +08:00
parent 3934bb18ab
commit 70315404b3
3 changed files with 10 additions and 10 deletions

View File

@@ -2423,7 +2423,7 @@ def set_group_folder_perm(request, repo_id):
content_type = 'application/json; charset=utf-8'
if not (is_pro_version() and ENABLE_FOLDER_PERM):
return HttpResponse(json.dumps({"error": True}),
return HttpResponse(json.dumps({"error": _(u"Permission denied")}),
status=403, content_type=content_type)
group_id = request.POST.get('group_id', None)