Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

CourseGroup API is not working with JWT authentication #123

Open
ghost opened this issue Jun 30, 2021 · 0 comments
Open

CourseGroup API is not working with JWT authentication #123

ghost opened this issue Jun 30, 2021 · 0 comments
Labels
Back end bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jun 30, 2021

Describe the bug
Accessing the CourseGroup API works with an admin user, but doesn't work for regular user. However, it should be accessible to all users for GET responses.

To Reproduce
Steps to reproduce the behavior:

  1. Login to the site, and get your idToken
  2. Go to CourseGroup api, and you will be unauthorized.

Expected behavior
The user should have an access to this API.

Screenshots

Additional context
Basically it's just changing the permission class in the View. will do.

@ghost ghost added the bug Something isn't working label Jun 30, 2021
@ghost ghost self-assigned this Jun 30, 2021
@ScDor ScDor added the Back end label Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Back end bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant