Users with relevant permissions cannot Run Reports or Scripts #4138

Closed
opened 2025-12-29 18:33:23 +01:00 by adam · 2 comments
Owner

Originally created by @ledgley on GitHub (Sep 24, 2020).

Originally assigned to: @jeremystretch on GitHub.

Environment

  • Python version: Python 3.6.8
  • NetBox version: NetBox 2.9.4

Steps to Reproduce

  1. Create a new permission that includes view, add, change, delete on extras > report and extras > script
  2. View reports or scripts
  3. See that ability to Run either is missing

Expected Behavior

User with relevant permissions granted should be able to run reports or scripts

Observed Behavior

  1. Script shows message You do not have permission to run scripts.
  2. 'Run Report' button is missing from /extras/reports
  3. If there are historic report runs, 'Run Again' button is missing from /extras/reports/results/n
Originally created by @ledgley on GitHub (Sep 24, 2020). Originally assigned to: @jeremystretch on GitHub. ### Environment * Python version: Python 3.6.8 * NetBox version: NetBox 2.9.4 ### Steps to Reproduce 1. Create a new permission that includes view, add, change, delete on extras > report and extras > script 2. View reports or scripts 3. See that ability to Run either is missing ### Expected Behavior User with relevant permissions granted should be able to run reports or scripts ### Observed Behavior 1. Script shows message **You do not have permission to run scripts.** 1. 'Run Report' button is missing from /extras/reports 1. If there are historic report runs, 'Run Again' button is missing from /extras/reports/results/n
adam added the status: acceptedtype: documentation labels 2025-12-29 18:33:23 +01:00
adam closed this issue 2025-12-29 18:33:24 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 24, 2020):

Executing a script or report requires the model-specific run permission. This must be defined on the permission in addition to the default view, add, change, and delete operations.

Screenshot_2020-09-24 Change permission NetBox

@jeremystretch commented on GitHub (Sep 24, 2020): Executing a script or report requires the model-specific `run` permission. This must be defined on the permission in addition to the default view, add, change, and delete operations. ![Screenshot_2020-09-24 Change permission NetBox](https://user-images.githubusercontent.com/13487278/94154410-d7845e00-fe4b-11ea-837d-30baed27186d.png)
Author
Owner

@jeremystretch commented on GitHub (Sep 24, 2020):

I'm going to classify this as a documentation issue since the current documentation is misleading.

@jeremystretch commented on GitHub (Sep 24, 2020): I'm going to classify this as a documentation issue since the current documentation is misleading.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4138