Skip to content

[feature] csv import add notes and user_groups field #396 #590

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

swebena
Copy link

@swebena swebena commented Apr 8, 2025

Batch csv import now accepts notes and setting RADIUS groups for each user. The previous format is still accepted for backwards compatibility.

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #396.

Description of Changes

This update enhances the batch CSV import functionality to support two new fields:

  • notes: A freeform field to allow additional information or context to be stored for each user.
  • user_groups: Users can now be assigned one or more RADIUS groups directly via the CSV file.
    Each group can optionally include a priority level for more granular control.

The implementation ensures backwards compatibility with the previous format by continuing to accept
CSV files that do not include these new fields. Existing functionality is unaffected for users who
do not use the new format.

This feature resolves issue #396, addressing the user feedback for imports.

swebena and others added 2 commits April 8, 2025 16:24
Batch csv import now accepts notes and setting RADIUS groups for each
user. The previous format is still accepted for backwards compatibility.

Fixes openwisp#396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] Add notes and radius groups to batch user creation
2 participants