[PR #13310] [MERGED] Closes #13309: Introduce the account app #14151

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13310
Author: @jeremystretch
Created: 7/30/2023
Status: Merged
Merged: 7/31/2023
Merged by: @jeremystretch

Base: featureHead: 13309-account-app


📝 Commits (5)

  • aaa4f67 Introduce the DEFAULT_PERMISSIONS config parameter
  • 2bb764f Establish default permissions for user token management
  • d95e16a Introduce 'accounts' app for user-specific views & resources
  • c0959db Move UserTokenTable to account app
  • 1478664 Move login & logout views to account app

📊 Changes

21 files changed (+435 additions, -417 deletions)

View changed files

netbox/account/__init__.py (+0 -0)
📝 netbox/account/migrations/0001_initial.py (+4 -2)
netbox/account/migrations/__init__.py (+0 -0)
netbox/account/models.py (+15 -0)
netbox/account/tables.py (+55 -0)
📝 netbox/account/urls.py (+3 -4)
netbox/account/views.py (+298 -0)
📝 netbox/netbox/settings.py (+1 -0)
📝 netbox/netbox/urls.py (+3 -4)
📝 netbox/templates/account/base.html (+0 -0)
📝 netbox/templates/account/bookmarks.html (+1 -2)
netbox/templates/account/password.html (+21 -0)
📝 netbox/templates/account/preferences.html (+1 -1)
📝 netbox/templates/account/profile.html (+1 -1)
📝 netbox/templates/account/token.html (+0 -0)
netbox/templates/account/token_list.html (+26 -0)
netbox/templates/users/account/password.html (+0 -21)
netbox/templates/users/account/token_list.html (+0 -26)
📝 netbox/users/models.py (+0 -13)
📝 netbox/users/tables.py (+2 -52)

...and 1 more files

📄 Description

Fixes: #13309

  • Create the new account app
  • Migrate all user-specific views, URLs, and templates from the users app
  • Move the UserToken proxy model

🔄 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/13310 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/30/2023 **Status:** ✅ Merged **Merged:** 7/31/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `13309-account-app` --- ### 📝 Commits (5) - [`aaa4f67`](https://github.com/netbox-community/netbox/commit/aaa4f677bd5f5a77f3204c3d1212dea261b65e71) Introduce the DEFAULT_PERMISSIONS config parameter - [`2bb764f`](https://github.com/netbox-community/netbox/commit/2bb764ff42db503b605c98fa8788ae50be5e3839) Establish default permissions for user token management - [`d95e16a`](https://github.com/netbox-community/netbox/commit/d95e16aac91d11d1c064b627f68d31f3e8969fc8) Introduce 'accounts' app for user-specific views & resources - [`c0959db`](https://github.com/netbox-community/netbox/commit/c0959dbce0d359c8ddf712ca11d380cb3a4c3ef8) Move UserTokenTable to account app - [`1478664`](https://github.com/netbox-community/netbox/commit/14786648dd8987e51c2ef2e33c7a3d80d7bacfcc) Move login & logout views to account app ### 📊 Changes **21 files changed** (+435 additions, -417 deletions) <details> <summary>View changed files</summary> ➕ `netbox/account/__init__.py` (+0 -0) 📝 `netbox/account/migrations/0001_initial.py` (+4 -2) ➕ `netbox/account/migrations/__init__.py` (+0 -0) ➕ `netbox/account/models.py` (+15 -0) ➕ `netbox/account/tables.py` (+55 -0) 📝 `netbox/account/urls.py` (+3 -4) ➕ `netbox/account/views.py` (+298 -0) 📝 `netbox/netbox/settings.py` (+1 -0) 📝 `netbox/netbox/urls.py` (+3 -4) 📝 `netbox/templates/account/base.html` (+0 -0) 📝 `netbox/templates/account/bookmarks.html` (+1 -2) ➕ `netbox/templates/account/password.html` (+21 -0) 📝 `netbox/templates/account/preferences.html` (+1 -1) 📝 `netbox/templates/account/profile.html` (+1 -1) 📝 `netbox/templates/account/token.html` (+0 -0) ➕ `netbox/templates/account/token_list.html` (+26 -0) ➖ `netbox/templates/users/account/password.html` (+0 -21) ➖ `netbox/templates/users/account/token_list.html` (+0 -26) 📝 `netbox/users/models.py` (+0 -13) 📝 `netbox/users/tables.py` (+2 -52) _...and 1 more files_ </details> ### 📄 Description ### Fixes: #13309 - Create the new `account` app - Migrate all user-specific views, URLs, and templates from the `users` app - Move the `UserToken` proxy model --- <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:22:53 +01:00
adam closed this issue 2025-12-29 23:22:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14151