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

Feature/553 api endpoint list groups #574

Conversation

kaushikaryan04
Copy link
Contributor

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 #553 .

Description of Changes

Created new URL endpoint to list out all the radius groups. Also added tests to check results of api against DB records.

Screenshot

kaushikaryan04 and others added 9 commits June 30, 2024 16:59
…ent openwisp#525

changed the delete_old_radiusbatch_users management command to use days instead of months also modified tasks and tests to use days.

Fixes openwisp#525
… instead of months openwisp#525

Changed the delete_old_radiusbatch_users command to take in days in argument instead of months and modified tests and tasks accordingly.

Fixes openwisp#525
… as well openwisp#525

Added the option to delete users by specifying days or months.If nothing is provided 18 months will be taken as default.

Fixes openwisp#525


Made the suggested changes and added the testcase so both old and new command could be tested.

Fixes openwisp#525
- Check if the NameID is an email and use it as the user's email.
- If NameID is not an email, check for the 'email' attribute in the SAML response.
- Create an EmailAddress object using the retrieved email.

Fixes openwisp#523
Added a new URL endpoint to list out all the radius groups same as can see in the admin pannel. Also added test to check the response against the records stored in DB.

Fixes openwisp#553
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] API Endpoint to List Radius Groups
2 participants