Commit bbbdf4c8 authored by cermak's avatar cermak
Browse files

[FIX] - board cant see proposals for review

parent a6c8c546
......@@ -87,7 +87,7 @@ class ProposalFilter(django_filters.FilterSet):
self.filters.pop("local_contacts")
self.filters.pop("search_all")
self.filters.pop("reporter")
elif not self.request.user.has_perm('app.approve_panel'):
elif not (self.request.user.has_perm('app.approve_panel') or self.request.user.has_perm('app.approve_board')):
self.filters.pop("reporter")
def filter_search_all(self, queryset, name, value):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment