Custom Scripts are not visible for LDAP and Local users #8570

Closed
opened 2025-12-29 20:38:18 +01:00 by adam · 5 comments
Owner

Originally created by @Arshnika on GitHub (Sep 5, 2023).

NetBox version

v3.6.0

Python version

3.10

Steps to Reproduce

  1. A superuser admin logs in to NetBox and add custom scrips under the Customization > REPORTS & SCRIPTS > Scripts:

image

image

  1. End users login to NetBox using their local or LDAP user. Please note users do not have superuser privilege. However, they do have run and view permissions for "Scripts" and "Script Module" object types.
  2. They go to Customization > REPORTS & SCRIPTS > Scripts.

Expected Behavior

Local and LDAP users must be able to see all scripts.

Observed Behavior

Scripts are not visible. Instead, users face the message "No Scripts Found". However, superusers are able to see the scrips.

image

Originally created by @Arshnika on GitHub (Sep 5, 2023). ### NetBox version v3.6.0 ### Python version 3.10 ### Steps to Reproduce 1. A superuser admin logs in to NetBox and add custom scrips under the Customization > REPORTS & SCRIPTS > Scripts: ![image](https://github.com/netbox-community/netbox/assets/95662911/7a004b4a-bd62-4caf-976f-1141d5eabc1f) ![image](https://github.com/netbox-community/netbox/assets/95662911/d72e98bb-d658-480c-9a0b-81933aaac145) 3. End users login to NetBox using their local or LDAP user. Please note users do not have superuser privilege. However, they do have run and view permissions for "Scripts" and "Script Module" object types. 4. They go to Customization > REPORTS & SCRIPTS > Scripts. ### Expected Behavior Local and LDAP users must be able to see all scripts. ### Observed Behavior Scripts are not visible. Instead, users face the message "No Scripts Found". However, superusers are able to see the scrips. ![image](https://github.com/netbox-community/netbox/assets/95662911/40836aec-b88c-45c7-bc6c-973f5783c7a1)
adam added the type: bugstatus: revisions needed labels 2025-12-29 20:38:18 +01:00
adam closed this issue 2025-12-29 20:38:18 +01:00
Author
Owner

@Arshnika commented on GitHub (Sep 5, 2023):

Here is the screenshot of the issue:

image

@Arshnika commented on GitHub (Sep 5, 2023): Here is the screenshot of the issue: ![image](https://github.com/netbox-community/netbox/assets/95662911/08b5b7ca-50bb-4d30-a5df-eb9bde337af0)
Author
Owner

@jeremystretch commented on GitHub (Sep 5, 2023):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch commented on GitHub (Sep 5, 2023): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@Arshnika commented on GitHub (Sep 6, 2023):

Hi Jeremy,

I have updated the information with more details and screenshots.

Thanks.

@Arshnika commented on GitHub (Sep 6, 2023): Hi Jeremy, I have updated the information with more details and screenshots. Thanks.
Author
Owner

@Arshnika commented on GitHub (Sep 8, 2023):

Just to give an update that the issue has been resolved.

With this NetBox release, users must also have permission for "Core > Managed File" object. After adding the permission, users are now able to see all scripts.

image

image

@Arshnika commented on GitHub (Sep 8, 2023): Just to give an update that the issue has been resolved. With this NetBox release, users must also have permission for "**Core > Managed File**" object. After adding the permission, users are now able to see all scripts. ![image](https://github.com/netbox-community/netbox/assets/95662911/442ae422-5340-4ba5-a958-72bf903a1981) ![image](https://github.com/netbox-community/netbox/assets/95662911/ac394379-2e98-4fc2-ad5e-c08e8dbd2edd)
Author
Owner

@Arshnika commented on GitHub (Sep 8, 2023):

The issue has been resolved.

@Arshnika commented on GitHub (Sep 8, 2023): The issue has been resolved.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8570