Replies: 1 comment 1 reply
|
@keitherw you can use parentheses, e.g. ` type user type document type organization Let me know if that works. |
1 reply
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 cannot seem to figure out how to block a user from the can_delete but adding them to a blocked relation. I am unable to add the "but not" on the can_delete: line, seems like if there is an and or and or, it will not let you.
model
schema 1.1
type user
type document
relations
define owner: [organization]
define writer: [user]
define can_write: writer
define can_delete: writer and member from owner
type organization
relations
define member: [user]
All reactions