Anonymous user is not matched when trying to get apps but as an authenticated user
jbtrystram opened this issue · 0 comments
jbtrystram commented
Scenario :
the app eclipsecon is set with the anonymous
user as a reader. That should enable anyone to stream data for it.
that works fine if you connect to the WS without any authentication.
But if you try to see the app in the console or try to consume events but with your auth info, it doesn't work.
This is due to how the SQL statement is constructed in https://github.com/drogue-iot/drogue-cloud/blob/main/database-common/src/models/sql.rs#L87