Skip to content
Discussion options

You must be logged in to vote

The only solution I've been able to come up with is to return true in absence of any record context, rendering all fields are editable by any user, with an error only being generated when attempting to Save the record, since that is the only point at which the context of the record is provided to the access hook.

@nborko this is spot on. There's no way for us to determine the task owner until the record is saved and access control is needed at the API level. Once the document has been create you have data to control access with as expected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zubricks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants