Access Control and Relationships #639
Replies: 1 comment 2 replies
-
Hey @imphillipzissou — I have not yet had time to replicate your scenario, but if my understanding of your issue is correct, my quick reaction is that Basically - this is unexpected. Your Do you happen to have a repo available for us to look at? Otherwise we can try and replicate ASAP. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
Apologies if this isn't the correct location to post. Running into a situation with Access Control and Relationships. I'm unable to create a document with a relationship to a collection with Create Access Controls enabled.
For example: If there are Collection Access Controls enabled on
Collection A
which prevent a user from creating a new Document inCollection A
. There are no Collection Access Controls onCollection B
.Collection B
has a relationship toCollection A
. Upon creating a newCollection B
Document, the relationship field will be disabled. If the relationship is required, aCollection B
document cannot be created.CollectionA.ts
CollectionB.ts
I've tried using field level access controls to allow a
CollectionB
relationship but this didn't appear to work either. I might not be understanding something but thought this behavior was unexpected since this wouldn't be "creating" a document inCollection A
. Any thoughts?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions