Commit 36f5a4f0 authored by's avatar

is readable by anyone

parent b4bf835c
......@@ -40,13 +40,9 @@ public class CommunityAuthorization extends AbstractAuthorization {
public boolean isReadable(final Document contact) {
if (sc.isUserInRole(Roles.ADMIN)) {
return true;
return false;
public boolean isWritable(final Document doc) {
if (sc.isUserInRole(Roles.ADMIN)) {
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