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

is readable by anyone

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