Can not create rack reservation without rights to read all system users #10242

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

Originally created by @stavr666 on GitHub (Sep 13, 2024).

Deployment Type

NetBox Cloud

NetBox Version

v4.0.8

Python Version

3.11

Steps to Reproduce

  1. Create permission set with view+add+change+delete rights to devices, racks and rack reservations
  2. Assign permission set to new user (without any other rights)
  3. As created user try to make new reservation to any rack

Expected Behavior

User can create reservation to herself.
Null-valued field "user" acceptable and interpreted by the system as "reservation assigned to me" without knowing how many users in system.

Observed Behavior

During reservation process field "user" is required and admin must add user access to (full?) list for any operations requiring this field.
image

Bug reproducible in 4.1.1 demo.

Originally created by @stavr666 on GitHub (Sep 13, 2024). ### Deployment Type NetBox Cloud ### NetBox Version v4.0.8 ### Python Version 3.11 ### Steps to Reproduce 1. Create permission set with view+add+change+delete rights to devices, racks and rack reservations 2. Assign permission set to new user (without any other rights) 3. As created user try to make new reservation to any rack ### Expected Behavior User can create reservation to herself. Null-valued field "user" acceptable and interpreted by the system as "reservation assigned to me" without knowing how many users in system. ### Observed Behavior During reservation process field "user" is required and admin must add user access to (full?) list for any operations requiring this field. ![image](https://github.com/user-attachments/assets/0af65507-146f-4f3f-a0b3-12bec0392536) Bug reproducible in 4.1.1 demo.
adam closed this issue 2025-12-29 21:28:46 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 13, 2024):

This is not a bug. If you want to limit the set of users to which one user may assign a reservation, you can use permission constraints to do so.

@jeremystretch commented on GitHub (Sep 13, 2024): This is not a bug. If you want to limit the set of users to which one user may assign a reservation, you can use [permission constraints](https://netboxlabs.com/docs/netbox/en/stable/administration/permissions/#constraints) to do so.
Author
Owner

@stavr666 commented on GitHub (Sep 16, 2024):

This is not a bug. If you want to limit the set of users to which one user may assign a reservation, you can use permission constraints to do so.

I wish that every user could create reservation, as long as he have access to CREATE RESERVATION. As it was in 3.0.
Without giving access to full list of users. As it required now without any reason (when this is not required).

P.S. I wish to limit set of users, who can fish every Netbox user logon.

@stavr666 commented on GitHub (Sep 16, 2024): > This is not a bug. If you want to limit the set of users to which one user may assign a reservation, you can use [permission constraints](https://netboxlabs.com/docs/netbox/en/stable/administration/permissions/#constraints) to do so. I wish that every user could create reservation, as long as he have access to CREATE RESERVATION. As it was in 3.0. Without giving access to full list of users. As it **required** now without any reason (when this is not required). P.S. I wish to limit set of users, who can fish every Netbox user logon.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10242