Auth require for view citizens
This commit is contained in:
1 parent
9fb6440736
commit
679dd2e4c5
1 file changed
+1
-1
@@ -22,7 +22,7 @@ class CitizenVoter: Voter {
|
||||
return Vote.GRANTED
|
||||
}
|
||||
|
||||
if (action == Action.VIEW) {
|
||||
if (action == Action.VIEW && user != null) {
|
||||
return Vote.GRANTED
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user