Bulk editing for all users in administrators group #578

Closed
opened 2025-12-29 16:23:28 +01:00 by adam · 5 comments
Owner

Originally created by @hawko2600 on GitHub (Dec 16, 2016).

When I login as the original admin user I am able to bulk edit items by checking the checkbox next to the targets and then selecting an action from a menu near the top of the page.

If I login as another user in the administrators group, this bulk edit capability doesn't exist - the checkboxes are there but the menu buttons do not display.

There also doesn't seem to be a capability for bulk edit in the admin interface (i.e. it seems hardcoded to original admin user).

Ideally:

  • Add RBAC capability to bulk edit
  • Let users / group members with this capability perform bulk edit actions
  • Assign this capability to original admin user and administrators group by default
Originally created by @hawko2600 on GitHub (Dec 16, 2016). When I login as the original admin user I am able to bulk edit items by checking the checkbox next to the targets and then selecting an action from a menu near the top of the page. If I login as another user in the administrators group, this bulk edit capability doesn't exist - the checkboxes are there but the menu buttons do not display. There also doesn't seem to be a capability for bulk edit in the admin interface (i.e. it seems hardcoded to original admin user). Ideally: * Add RBAC capability to bulk edit * Let users / group members with this capability perform bulk edit actions * Assign this capability to original admin user and administrators group by default
adam closed this issue 2025-12-29 16:23:28 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 16, 2016):

I'm not clear on what you're trying to do. Are you using the normal frontend or the admin interface?

@jeremystretch commented on GitHub (Dec 16, 2016): I'm not clear on what you're trying to do. Are you using the normal frontend or the admin interface?
Author
Owner

@hawko2600 commented on GitHub (Dec 22, 2016):

@jeremystretch Oh, sorry, via the normal frontend. I've done something perhaps left-field and ignored the DCIM component, just bulk-added data into the IPAM section only. Some of the input data is historically inaccurate so I want to e.g. select multiple IP addresses and then tag them with the correct Tenant, VLAN, etc. rather than having to visit them individually. This works fine as the original admin user but not as any other user.

For example,
IP Space -> Prefixes -> click on a prefix
As the original admin user, there's buttons below the child prefixes table "edit selected" and "delete selected"
These buttons do not exist for another user in an administrators group with full rights.

The same happens in the IP Address view, in fact I can't recall the buttons appearing anywhere for anyone other than the original admin user.

@hawko2600 commented on GitHub (Dec 22, 2016): @jeremystretch Oh, sorry, via the normal frontend. I've done something perhaps left-field and ignored the DCIM component, just bulk-added data into the IPAM section only. Some of the input data is historically inaccurate so I want to e.g. select multiple IP addresses and then tag them with the correct Tenant, VLAN, etc. rather than having to visit them individually. This works fine as the original admin user but not as any other user. For example, IP Space -> Prefixes -> click on a prefix As the original admin user, there's buttons below the child prefixes table "edit selected" and "delete selected" **These buttons do not exist for another user in an administrators group with full rights.** The same happens in the IP Address view, in fact I can't recall the buttons appearing anywhere for anyone other than the original admin user.
Author
Owner

@jeremystretch commented on GitHub (Dec 26, 2016):

There is no "administrators" group. A user must be explicitly assigned superuser status in order to inherit all permissions. Otherwise, permissions must be assigned per user or per group in the admin UI.

@jeremystretch commented on GitHub (Dec 26, 2016): There is no "administrators" group. A user must be explicitly assigned superuser status in order to inherit all permissions. Otherwise, permissions must be assigned per user or per group in the admin UI.
Author
Owner

@jsenecal commented on GitHub (Dec 26, 2016):

I think @darthmdh meant users with the superuser boolean set to false but with enough permissions on the model.

@jsenecal commented on GitHub (Dec 26, 2016): I think @darthmdh meant users with the superuser boolean set to false but with enough permissions on the model.
Author
Owner

@hawko2600 commented on GitHub (Feb 1, 2017):

I did. And I think this was re-raised as #845 and fixed.

@hawko2600 commented on GitHub (Feb 1, 2017): I did. And I think this was re-raised as #845 and fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#578