[Flow] Entity Policy: resolving relations

Aimo Kuenkel mail at aimo.cc
Thu Jun 12 10:40:35 CEST 2014


Hi List!

I want to protect my 'object' entity with a policy and currently don't know how to formulate my setup into a policy.
My Objects have n Owners, and owner has 1 User.

My current policy looks like so: this.owners.user != current.securityContext.account.party

This however denies any access, so I'm wondering how to write that down correctly.

Thanks for all help in advance,

Aimo


More information about the Flow mailing list