Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a custom User and Group Model #12795

Closed
arthanson opened this issue Jun 1, 2023 · 3 comments
Closed

Implement a custom User and Group Model #12795

arthanson opened this issue Jun 1, 2023 · 3 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@arthanson
Copy link
Collaborator

NetBox version

v3.5.2

Feature type

Data model extension

Proposed functionality

Implement and use a custom User and Group model.

Use case

This would allow us to extend the User and Group model in the future (like adding a description to the Group model, which would be useful). It would also make them more compatible with the rest of the codebase allowing better use of the custom list and bulk views as we are moving the admin of those items from Django admin to NetBox.

Database changes

would need custom migrations for these new models.

External dependencies

No response

@arthanson arthanson added the type: feature Introduction of new functionality to the application label Jun 1, 2023
@arthanson arthanson added this to the v4.0 milestone Jun 1, 2023
@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions github-actions bot added the pending closure Requires immediate attention to avoid being closed for inactivity label Aug 31, 2023
@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed pending closure Requires immediate attention to avoid being closed for inactivity labels Aug 31, 2023
@arthanson arthanson self-assigned this Jan 11, 2024
@arthanson
Copy link
Collaborator Author

blocking on #13647

@jeremystretch
Copy link
Member

Re-openining this to tackle a custom group model as well.

@jeremystretch jeremystretch reopened this Feb 26, 2024
jeremystretch added a commit that referenced this issue Mar 4, 2024
* Rename sequences & indexes after renaming users table

* Migrate from auth.Group to a custom group model

* Delete original groups from auth_group table

* Update object & multi-object custom fields referencing the Group model

* Fix ContentType resolution

* Clean up obsolete logic for view/serializer resolution
jeremystretch added a commit that referenced this issue Mar 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants