In a table called Project, I have a column "users" that is a n-n relation with the User table. I want to give every user that is related, permission to read and update its own project object. Unfortunately I can't make this work via the following code:
const projectACL: Parse.Schema.CLP = {
readUserFields: ["users"],
writeUserFields: ["users"]
}
};
The following error is thrown:
ParseError: 'users' is not a valid column for class level pointer permissions readUserFields
In the source code one can see there is a check if the argument of readUserFields and writeUserFields is a pointer OR an array, but "users" is a relation (not an array).
Is what I want even possible? I'm sorry I couldn't find any documentation or examples on this, so I would much appreciate an example of how to make it work.