Creating a rack checks for wrong permissions #4067
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
dcim.add_rack
)./dcim/racks/add/
Expected Behavior
The rack creation form should be displayed.
Observed Behavior
A 403 error (permission denied) is raised. This occurs because the URL configuration is actually pointing to RackEditView instead of RackCreateView, so Django is looking for the
dcim.change_rack
permission instead. (This permissions check is the only different between the two views.)The text was updated successfully, but these errors were encountered: