pyronear / pyro-api

Alert Management API for wildfire prevention, detection & monitoring. Built with FastAPI & PostgreSQL
Apache License 2.0
21 stars 9 forks source link

[admin scope issue][media] #242

Closed fe51 closed 1 year ago

fe51 commented 1 year ago

Hi there,

As a user with admin scope, I have encountered the following issue :

I have been denied access on a route where I am supposed to have access rights

Indeed, I get a error 403 using the get route : /media/{media_id}/url and the following msg :

{
  "detail": "This access can't read resources from group_id=3"
}

I am available to provide further information if required, Thanks a lot :)

frgfm commented 1 year ago

Closed by #253