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
- Cannot use custom SMTP for messaging (SM...
Hey there! I'm on Appwrite Self-hosted 1.9.0. I've never used the messaging feature before, always sent emails through functions or a custom backend, but I'v...
- All My Project is Gone
Hello everyone, please help. Why have all my projects suddenly disappeared? I received a warning via email about one of my projects being paused. When I clicked...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...