DataSourceViewSet erroneously references a extras.sync_datasource
permission instead of core.sync_datasource
#12818
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.3
Python version
3.10
Steps to Reproduce
sync
Expected Behavior
Datasource should be synced as user has all permissions.
Observed Behavior
The API returns:
The cause is here, just needs to be changed. Was probably missed when stuff was moved to the core app.
https://github.com/devon-mar/netbox/blob/e40e9cb4064b7128e4a590fa3a99d5ff0a45723c/netbox/core/api/views.py#L36
Should be
core.sync_datasource
.The text was updated successfully, but these errors were encountered: