Commit 40b4334d authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Amended checkIfReadable

parent beafb43d
Pipeline #1058 passed with stages
in 32 seconds
......@@ -121,6 +121,10 @@ public class NodeUtils {
public static boolean checkIfReadable(Node myNode, String userName, List<String> userGroups) {
if (Boolean.parseBoolean(NodeProperties.getNodePropertyByURI(myNode, NodeProperties.PUBLIC_READ_URI))) {
return true;
}
return checkAccessPropery(myNode, userName, userGroups, NodeProperties.GROUP_READ_URI);
}
......
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