Skip to content

fix(collections): reject IP IDs not owned by the caller - #1498

Merged
fejilaup-cloud merged 2 commits into
AtomicIP:mainfrom
kilij7309-arch:feature/1406-collection-ip-ownership-check
Nov 25, 2026
Merged

fejilaup-cloud merged 2 commits into
AtomicIP:mainfrom
kilij7309-arch:feature/1406-collection-ip-ownership-check

Conversation

@kilij7309-arch

Copy link
Copy Markdown
Contributor

Closes #1406

Add validate_ip_ownership helper that checks each IP ID against the indexed commitment records before it is accepted into a collection. Both create and add_ips now reject IPs that do not exist or whose owner field does not match the authenticated caller. Four new unit tests cover the cross-owner and unknown-IP cases.

Closes AtomicIP#1406

Add validate_ip_ownership helper that checks each IP ID against the
indexed commitment records before it is accepted into a collection.
Both create and add_ips now reject IPs that do not exist or whose
owner field does not match the authenticated caller.
Four new unit tests cover the cross-owner and unknown-IP cases.
@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@kilij7309-arch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@fejilaup-cloud
fejilaup-cloud merged commit cfa4ee4 into AtomicIP:main Nov 25, 2026
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.

Collections accept any IP ID, including IPs the caller does not own

2 participants