Hello community. I have a many to many relationship that every time I try to update, I get a “Unauthorized” message.
To give context:
The relation ship is between the “Users” collection and another one called “Questions Lists”.
I’ve created a list of “Users” that when clicked on, updates the “Questions Lists” collection adding the current User (the user shown in the Users’ list).
Every time I click to a User from that Users’ list, I get the message “Unauthorized”.
I’m able to add users to the “Questions Lists” manually from the backend, but I would need this to be done by the users of the app.
I’ve also noticed that this is something that happends with other many to many relationships that I’ve tested.
I’ve search for information here in the forum and in the Adalo’s information library, but I can’t find an answer to that.
Create a many to many relationship between “Users” and “Animals”
Create a list of “Animals” that when clicked, Updates the “Animals” collection adding the “Logged-In User” to the current animal (the one click on on the list).
Everytime I click any animal, I get the “Unauthorized” message and the animal is not added to the user.
I’ve also tryed to change the action to update the “Users” collection (instead of updating the animals collection) adding the current animal to the “Logged-In User”. And the result is the same.
And by the way, I’ve checked the permissions of the collections all are set to “anyone can view, create, update and delete”.