fix: shorten email permission codenames to fit NetBox action limit
NetBox ObjectPermission actions are limited to 30 characters, so assigning manage_softwarelicense_email_notifications or manage_certificate_email_notifications to a group failed validation. Rename them to manage_license_emails and manage_certificate_emails and migrate existing auth permissions in place to keep assignments. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5dedfc9206
commit
30d748969f
6 files changed
+56
-8
No files matched your search
@@ -149,8 +149,8 @@ on the license, the plugin also sends an e-mail to the address stored in the
|
||||
user account; NetBox SMTP must be configured for this.
|
||||
|
||||
Enabling e-mail delivery can only be changed by administrators or users with
|
||||
the permission `netbox_slm.manage_softwarelicense_email_notifications`
|
||||
(licenses) or `netbox_slm.manage_certificate_email_notifications`
|
||||
the permission `netbox_slm.manage_license_emails`
|
||||
(licenses) or `netbox_slm.manage_certificate_emails`
|
||||
(certificates). SMTP
|
||||
credentials are maintained only in the NetBox server configuration and are not
|
||||
visible in the plugin.
|
||||
|
||||
Reference in new issue
Block a user