Auth require for view citizens

This commit is contained in:
flecomte committed 2019-08-29 13:44:46 +02:00
1 parent 9fb6440736
commit 679dd2e4c5
1 file changed
+1 -1
@@ -22,7 +22,7 @@ class CitizenVoter: Voter {
return Vote.GRANTED return Vote.GRANTED
} }
if (action == Action.VIEW) { if (action == Action.VIEW && user != null) {
return Vote.GRANTED return Vote.GRANTED
} }