[PR #16152] [MERGED] 16138 fix user/group permissions #14794

Closed
opened 2025-12-29 23:26:47 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16152
Author: @arthanson
Created: 5/15/2024
Status: Merged
Merged: 5/17/2024
Merged by: @jeremystretch

Base: developHead: 16138-user-group


📝 Commits (3)

  • bdc5a1c 16138 change view perms
  • 5b6ae28 16138 add migration of group perms
  • 6385b0b 16138 update users and groups in perm selection

📊 Changes

3 files changed (+60 additions, -8 deletions)

View changed files

📝 netbox/netbox/navigation/menu.py (+6 -6)
📝 netbox/users/constants.py (+1 -2)
netbox/users/migrations/0009_update_group_perms.py (+53 -0)

📄 Description

Fixes: #16138

Fixes several issues with user/group permissions:

  1. in menu - update to check the correct permissions
  2. in constants - change so correct permissions are shown in the Permissions form "Object Type" field
  3. add a migration to change any permissions set for auth.groups to users.group. Note: users does not need to be changed as the content-type was migrated.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/16152 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 5/15/2024 **Status:** ✅ Merged **Merged:** 5/17/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16138-user-group` --- ### 📝 Commits (3) - [`bdc5a1c`](https://github.com/netbox-community/netbox/commit/bdc5a1c47275fca7369e22d3c065f1887a6766df) 16138 change view perms - [`5b6ae28`](https://github.com/netbox-community/netbox/commit/5b6ae28422b2879aa52704c434df51642763fab5) 16138 add migration of group perms - [`6385b0b`](https://github.com/netbox-community/netbox/commit/6385b0b0b55ad1c74b5e8d572626e70087e74228) 16138 update users and groups in perm selection ### 📊 Changes **3 files changed** (+60 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/navigation/menu.py` (+6 -6) 📝 `netbox/users/constants.py` (+1 -2) ➕ `netbox/users/migrations/0009_update_group_perms.py` (+53 -0) </details> ### 📄 Description ### Fixes: #16138 Fixes several issues with user/group permissions: 1. in menu - update to check the correct permissions 2. in constants - change so correct permissions are shown in the Permissions form "Object Type" field 3. add a migration to change any permissions set for auth.groups to users.group. Note: users does not need to be changed as the content-type was migrated. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:26:47 +01:00
adam closed this issue 2025-12-29 23:26:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14794