i have notification collection and their i have relationship to post and post has relationship with posttags and posttags has relationship with location collection and user collection. So when i retrieve the notification for the current user all the relations has data beside of location relation on the postTags collection. I get null for location. Does anybody know why? I already have at least read permission for any.
i am using the current appwrite sdk 13.0.0 for flutter as well.
the image 1 shows the location permission and the image 2 shows the Notification permission
It looks like label:admin doesn’t have Read Permissions? I’m not certain, but it’s very likely that permissions are explicit, so you’re explicitly denying label:admin Read permissions.
Also, though, Appwrite has a depth limit of three Relationships. I’m not quite clear on the structure from your post, but you may be hitting up against that limit.
So its very strange. Here i have added the structure of my Notification Collection and tryed my best to explain it better.
Its probabely because of the nested relationship as you mentioned the limit of deep nested relationships has to be 3.
If this is the case what can i do to overcome this problem. and what i also dont understand is why i am getting the postCommentID and postID null as well, which is actually a String.
If their is any question about my drawing i will be happy to explain it.
and what do you mean by label does not have read permission? How do i set for admin label the read permission? I taught when i have at least one either user or any -> read permission it should work.
Hmm, the postID and postCommentID thing is strange.
If you hadn’t referenced label:admin at all, those users would have the Read permission. But since you have, those permissions would be all the permissions those users would have. If you check the “Read” box for label:admin, they’ll have the Read permission
But I think that’s not entirely relevant here, because of the Attributes directly on this Collection which are showing up as null - that can’t be a Relationships issue, can it?
Recommended threads
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...
- I can't migrate my project from Appwrite...
I'm having an issue migrating my Appwrite project to a self-hosted instance. The problem is that I've exceeded my read rate limit (or database read limit), so I...