Dieser Commit ist enthalten in:
Ursprung
ccdf61b6c9
Commit
d288edf2c9
@ -43,7 +43,7 @@ public class SafeSchematicNode {
|
|||||||
return Result.NOT_A_DIR;
|
return Result.NOT_A_DIR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(SchematicNode.getSchematicsAccessibleByUser(user.getId(), newParent.getParent())
|
if(SchematicNode.getSchematicsAccessibleByUser(user.getId(), newParent.getId())
|
||||||
.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