I have a relation set up & exposed in a relation manager. I set up a "conditions" field in the relation definition.
The query that pulls the relation seems to respect the "conditions" field as it aborts there is an error with the conditions. The list the renders the relations seems to ignore the conditions as all relations are returned even if they do not respect the rules set in the "definitions" field.
My relation also ignores scope definitions.
The defenition below ignores the 'conditions' field. All relations ignore the 'conditions' & 'scope' & 'order' if they are rendered through the relation manage.
'mentors' => [ 'Mentor', 'conditions' => 'linktype = \'PRIMARY\' AND contact.crole = \'mentor\'', 'table' => 'linkster', 'key' => 'surveyid', 'otherKey' => 'contactid', 'pivot' => ['linktype','impid', 'pdfl1'], 'pivotModel' => 'Models\PivotProject', ]