Environment
- Python version: 3.6.9
- NetBox version: 2.10.3
Steps to Reproduce
- As admin create active prefix
- Create permission to view all prefixes
- Create permission to add reserved prefix
- As test user with permissions above POST on /api/ipam/prefixes/{created_active_prefix_id}/available-prefixes/ with body {"status" : "reserved", "prefix_length" : 24}
- API will return 404 NOT FOUND error
- GET on /api/ipam/prefixes/{created_active_prefix_id}/available-prefixes/ works fine
Expected Behavior
Create reserved child prefix.
Observed Behavior
NOT FOUND error
This is related to #5841, but deserves separate bugreport.
Creation via web interface works fine.