Unable to assign permissions for dcim.macaddress #10754

Closed
opened 2025-12-29 21:35:35 +01:00 by adam · 2 comments
Owner

Originally created by @lcharreau on GitHub (Feb 10, 2025).

Deployment Type
Self-hosted

NetBox Version
v4.2.3 (netbox-docker)

Python Version
3.12.3

Steps to Reproduce

  1. Log in as an admin.
  2. Go to the Users section and edit an existing user (users.user).
  3. Attempt to assign permissions related to dcim.macaddress.
  4. Notice that these permissions are not listed in the UI.

Expected Behavior

The UI should allow selecting permissions for dcim.macaddress, such as:

  • dcim.add_macaddress
  • dcim.change_macaddress
  • dcim.delete_macaddress
  • dcim.view_macaddress

Observed Behavior

The permissions related to dcim.macaddress are missing from the list.

Image
Image

Originally created by @lcharreau on GitHub (Feb 10, 2025). **Deployment Type** Self-hosted **NetBox Version** v4.2.3 (netbox-docker) **Python Version** 3.12.3 **Steps to Reproduce** 1. Log in as an admin. 2. Go to the Users section and edit an existing user (users.user). 3. Attempt to assign permissions related to `dcim.macaddress`. 4. Notice that these permissions are not listed in the UI. **Expected Behavior** The UI should allow selecting permissions for dcim.macaddress, such as: - dcim.add_macaddress - dcim.change_macaddress - dcim.delete_macaddress - dcim.view_macaddress **Observed Behavior** The permissions related to `dcim.macaddress` are missing from the list. ![Image](https://github.com/user-attachments/assets/ce531048-c36d-49d6-b935-864457a3f7b1) ![Image](https://github.com/user-attachments/assets/e793a732-02cc-48da-96ad-7276a243b6a7)
adam closed this issue 2025-12-29 21:35:35 +01:00
Author
Owner

@arthanson commented on GitHub (Feb 11, 2025):

@lcharreau I'm not sure I follow the steps here, If you go to permissions under Admin then you can create the permission with DCIM > MAC address. Your screenshot is a bit truncated so can't see which field and page you are on. Here is the screenshot of the Permissions page. Can you please double-check and update your repro steps.

Image

@arthanson commented on GitHub (Feb 11, 2025): @lcharreau I'm not sure I follow the steps here, If you go to permissions under Admin then you can create the permission with DCIM > MAC address. Your screenshot is a bit truncated so can't see which field and page you are on. Here is the screenshot of the Permissions page. Can you please double-check and update your repro steps. ![Image](https://github.com/user-attachments/assets/50a4cabb-4009-48b4-b42f-27b77bce9456)
Author
Owner

@lcharreau commented on GitHub (Feb 11, 2025):

@arthanson Thanks for your reply. I had forgotten that permissions need to be explicitly created before they can be assigned. I initially assumed they were predefined.

Sorry for the confusion. I closed this issue.

@lcharreau commented on GitHub (Feb 11, 2025): @arthanson Thanks for your reply. I had forgotten that permissions need to be explicitly created before they can be assigned. I initially assumed they were predefined. Sorry for the confusion. I closed this issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10754