Skip to content

feat(nodes): auto-assign node creator to contributor on first resource upload - #187

Merged
trtajim merged 1 commit into
mainfrom
feat/node-owner-auto-assign-on-first-upload
Aug 26, 2026
Merged

feat(nodes): auto-assign node creator to contributor on first resource upload#187
trtajim merged 1 commit into
mainfrom
feat/node-owner-auto-assign-on-first-upload

Conversation

@trtajim

@trtajim trtajim commented Aug 26, 2026

Copy link
Copy Markdown
Member

Summary

  • Automatically updates the user_id of an empty node (or pre-created skeleton folder) to the contributor when they upload the first resource into that node.
  • Ensured via ResourceObserver::creating so single upload, bulk image upload, and bulk video upload all transfer ownership seamlessly.
  • Milestone notifications for upvotes (NodeNotificationMail) now correctly route to the actual content contributor rather than the admin who pre-created the empty skeleton.
  • Added comprehensive unit/feature test in tests/Feature/NodeVoteTest.php. All 89 tests and linter checks pass.

@trtajim
trtajim merged commit 7f3fae7 into main Aug 26, 2026
5 checks passed
@trtajim
trtajim deleted the feat/node-owner-auto-assign-on-first-upload branch August 26, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant