Skip to content
Snippets Groups Projects
Commit 40b4334d authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Amended checkIfReadable

parent beafb43d
No related branches found
No related tags found
No related merge requests found
Pipeline #1058 passed
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment