Replies: 1 comment 2 replies
-
|
I'm guessing it can't insert new Member, because I managed to solve this by adding another policy which explicitly allows inserting when But that doesn't look to me like an idiomatic solution or proper usage of access policies. Any advice? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to add one entity that has access policy based on computed field. It works fine for select, but upon insert I get "access policy violation" error.
Here is a minimal reproducable example.
default.esdl
Queries to reproduce:
demo.edgeql
Returns:
Could someone explain why the access policy is violated here?
What would be the proper way to add member to the club in this example?
Beta Was this translation helpful? Give feedback.
All reactions