cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

[CW-3679] Add same tenancy condition filter #788

Closed jkmar closed 3 years ago

jkmar commented 3 years ago

Same tenancy condition filter can only be used to check attach policies. It also has to be used in sub condition 'or' or 'and'. This condition can be used to check if created or updated resource is in the same tenant and domain as resources related to it. If either resource or related resource does not have tenant_id property, the check for this property is omitted. Similar for domain_id.