Commit 36f5a4f0 authored by redmitry@list.ru's avatar redmitry@list.ru

is readable by anyone

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