Relationships - if no permission for nested for one to one relation returns empty array
- 0
- Databases
1.4.2 (1.4.1 also) flutter sdk Expected single object but empty array is returned Returns normal json object when user have read permission to relationship collection.
"correctAnswer":[
],
in console: (image in attachment)
Can confirm for many to many as well. Revoked read permissions for one of two documents and got this in return:
[
{ object1 data },
[]
]
For the unreadable document, an empty array is returned.
@Prateek Banga is the fix for this pending release?
@Steven I don't think so, we delivered one bug fix to my knowledge in 1.4.3 which is this one https://discordapp.com/channels/564160730845151244/1146653042696011777
just checked - I'm still able to reproduce it on 1.4.3
Recommended threads
- Query multi-tenant db with $permissions ...
I'm setting up a multi-tenant database with RLS enabled. My users my have permissions set for multiple Teams, and as such when they query the database with the ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...