Commit graph

8 commits

Author SHA1 Message Date
7473af4163
enforce text ownership on node endpoints
getNodesOfText, createNode, and bulkCreateNodes now require
the session user, look up the target text, and respond 403
unless the user owns the text or is an admin. paves the way
for moving these endpoints out of the admin-only group.
2026-05-02 21:45:47 +03:00
8a90c5bab4
refactor bulk create nodes controller to catch BadRequestException 2026-04-19 23:37:40 +03:00
1761bfad7f
refactor create node controller to catch BadRequestException 2026-04-19 23:37:12 +03:00
53cb002d0d
implement node controller method for bulk create nodes 2026-04-18 23:05:14 +03:00
628c633823
change the way data is accessed from request in node controller 2026-04-18 22:00:24 +03:00
bdf386e510
implement create node method in node controller 2026-04-18 21:33:41 +03:00
f5a8b8447f
rename route for nodes and adjust calls to route 2026-04-18 21:01:02 +03:00
38d06fce43
refactor getNodes into a new NodeController and update refs 2026-04-17 11:29:55 +03:00