Files
netbox/netbox/netbox
Jason Novinger 434334d927 Fixes #20239: Prevent shared mutable state in PluginMenuItem and PluginMenuButton (#21099)
PluginMenuItem and PluginMenuButton classes used mutable class-level
defaults for `permissions` and `buttons` attributes, causing permission
leakage between instances when these attributes were modified without
explicit parameters.

Changed to initialize these attributes as fresh lists per instance in
__init__ when not explicitly provided, following standard Python pattern
for avoiding mutable default arguments.
2026-01-14 12:50:35 -08:00
..
2026-01-06 13:05:07 -05:00
2025-12-09 10:39:48 -08:00
2026-01-06 13:05:07 -05:00
2025-11-07 16:31:25 -05:00
2026-01-06 13:05:07 -05:00
2025-11-18 20:35:15 -05:00
2025-08-14 14:40:01 -04:00
2026-01-06 13:05:07 -05:00
2018-11-02 15:20:08 -04:00