diff options
Diffstat (limited to '')
-rw-r--r-- | client/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/views.py b/client/views.py index a6087aa..f69b614 100644 --- a/client/views.py +++ b/client/views.py @@ -177,7 +177,7 @@ def create(request): # user is cheating abort return HttpResponseRedirect("/") - if not document_type.custom_group and document_type.group.name not in request.user.groups.values_list('name', flat=True): + if document_type.group_private and document_type.group.name not in request.user.groups.values_list('name', flat=True): # user is cheating abort return HttpResponseRedirect("/") |