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

[api/radius] Fix BatchView permission and authorization #94

Closed
nemesifier opened this issue Jun 4, 2020 · 0 comments · Fixed by #131
Closed

[api/radius] Fix BatchView permission and authorization #94

nemesifier opened this issue Jun 4, 2020 · 0 comments · Fixed by #131
Labels
bug Something isn't working important Higher priority or release blocker

Comments

@nemesifier
Copy link
Member

nemesifier commented Jun 4, 2020

The BatchView of the API should be usable only by admin/staff users.

The organization should be part of the URL, eg: /api/v1/<org-slug>/radius/batch/.

It should use the user authentication from openwisp-users (not the other authentication designed to be used by freeradius).
It should use the django permissions to reject requests coming from users which do not have permissions to manipulate batch objects, it should allow superusers though.

Test will have to be changed. API docs need to be updated.

@nemesifier nemesifier added the bug Something isn't working label Jun 4, 2020
@nemesifier nemesifier added this to To do in Hacktoberfest 2020 via automation Jun 6, 2020
@nemesifier nemesifier added this to To do general in Roadmap via automation Jun 6, 2020
@nemesifier nemesifier added the important Higher priority or release blocker label Jun 29, 2020
@nemesifier nemesifier added this to To do in [GSoC20] Merge modules via automation Jul 4, 2020
@atb00ker atb00ker moved this from Backlog to To do (Next) in [GSoC20] Merge modules Jul 13, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 17, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 17, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 17, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 17, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 17, 2020
@atb00ker atb00ker moved this from To do (Next) to In progress in [GSoC20] Merge modules Jul 17, 2020
atb00ker added a commit to atb00ker/openwisp-radius that referenced this issue Jul 21, 2020
Hacktoberfest 2020 automation moved this from To do to Done Jul 21, 2020
Roadmap automation moved this from To do general to Done Jul 21, 2020
nemesifier pushed a commit that referenced this issue Jul 21, 2020
[GSoC20] Merge modules automation moved this from In progress to Done Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important Higher priority or release blocker
Projects
Roadmap
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant