Webhook view permissions #2202

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

Originally created by @berahtlv on GitHub (Dec 12, 2018).

Environment

  • Python version: 3.7.1
  • NetBox version: 2.5.0

Steps to Reproduce

  1. Create user with "Staff status" + "extras | webhook | can view webhooks" permission
  2. Login as user into and goto "../admin/extras/webhook/", choose some defined webhook (thats actually "../admin/extras/webhook/id/change"), and error arise:
<class 'KeyError'>
'obj_type'

Expected Behavior

Some message about permission is expected.

Observed Behavior

Exception arise.

Originally created by @berahtlv on GitHub (Dec 12, 2018). ### Environment * Python version: 3.7.1 * NetBox version: 2.5.0 ### Steps to Reproduce 1. Create user with "Staff status" + "extras | webhook | can view webhooks" permission 2. Login as user into and goto "../admin/extras/webhook/", choose some defined webhook (thats actually "../admin/extras/webhook/id/change"), and error arise: ``` <class 'KeyError'> 'obj_type' ``` ### Expected Behavior Some message about permission is expected. ### Observed Behavior Exception arise.
adam added the type: bugstatus: accepted labels 2025-12-29 17:23:33 +01:00
adam closed this issue 2025-12-29 17:23:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2202