feat(stammbaum): family network — graph, badge, edit card, /stammbaum page (#358) #360
@@ -34,6 +34,9 @@ public class RelationshipController {
|
|||||||
|
|
||||||
private final RelationshipService relationshipService;
|
private final RelationshipService relationshipService;
|
||||||
|
|
||||||
|
// READ endpoints carry no @RequirePermission: all authenticated users may read the family graph.
|
||||||
|
// Unauthenticated requests are rejected by Spring Security's anyRequest().authenticated() rule.
|
||||||
|
|
||||||
@GetMapping("/api/network")
|
@GetMapping("/api/network")
|
||||||
public NetworkDTO getNetwork() {
|
public NetworkDTO getNetwork() {
|
||||||
return relationshipService.getFamilyNetwork();
|
return relationshipService.getFamilyNetwork();
|
||||||
|
|||||||
Reference in New Issue
Block a user