johanrd
05/02/2024, 2:07 PMis the user member of organization_1, and does organization_1 have the feature flag 'projects' enabled?
I am very tempted to ask for
definition project {
relation org: organization
permission view = org->can_view_projects & org->view
}
How to define can_view_projects
on the org, if nested operators is not possible?
Are there any relevant examples out there? Here is a link to my current model to see if I am thinking way off: https://play.authzed.com/s/X2IQcvw-CsoM/schema
Thanks a lot, johan