NodeMember: SchematicSystem #137
@ -32,7 +32,7 @@ public class SafeSchematicNode {
|
|||||||
return Result.NOT_OWNER;
|
return Result.NOT_OWNER;
|
||||||
}
|
}
|
||||||
if(newParent == null) {
|
if(newParent == null) {
|
||||||
if(SchematicNode.list(user, 0)
|
if(SchematicNode.list(user, null)
|
||||||
.stream().map(SchematicNode::getName).anyMatch(s -> s.equalsIgnoreCase(node.getName()))) {
|
.stream().map(SchematicNode::getName).anyMatch(s -> s.equalsIgnoreCase(node.getName()))) {
|
||||||
return Result.ALREADY_IN_DIRECTORY;
|
return Result.ALREADY_IN_DIRECTORY;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren