Added tenantId to policy definitions and removed mandatory isPublic from test-schema in restendpoint