Update REST API tests to enforce object permissions #3759

Closed
opened 2025-12-29 18:31:05 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jun 8, 2020).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Update all REST API tests within APIViewTestCases to validate the assignment (or lack of) ObjectPermissions.

Justification

We must ensure that the enforcement of permissions is consistent across both the UI and API views.

Originally created by @jeremystretch on GitHub (Jun 8, 2020). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Update all REST API tests within APIViewTestCases to validate the assignment (or lack of) ObjectPermissions. ### Justification We must ensure that the enforcement of permissions is consistent across both the UI and API views.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 18:31:05 +01:00
adam closed this issue 2025-12-29 18:31:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3759