diff --git a/paperwork/autocomplete_views.py b/paperwork/autocomplete_views.py index b9bdc73..c6e8249 100644 --- a/paperwork/autocomplete_views.py +++ b/paperwork/autocomplete_views.py @@ -7,7 +7,7 @@ from .models import CertificationVersion class CertificationVersionAutocomplete(autocomplete.Select2QuerySetView): def get_queryset(self): - if not self.request.user.has_perm("membershipworks.view_certification_version"): + if not self.request.user.has_perm("paperwork.view_certification_version"): return CertificationVersion.objects.none() qs = CertificationVersion.objects.alias(