You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
Is there a way to define defaults for the reading and writing blocks and simply override them in a resource?
This way, one could do something like this:
# Use default permissionsresources:public_posts# Only allow a user to read their own notes (for example)resources:private_notesdoreadingdoallow:userdoobject.id && object.user == userendendend
Anyone have any ideas?
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I find myself doing this 90% of the time:
Is there a way to define defaults for the
reading
andwriting
blocks and simply override them in a resource?This way, one could do something like this:
Anyone have any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: