             editOnly writable
             name={@props.query.initialField.id}
             onKeyPress={@onKeyPress}
-            model={@props.model}
+            model={@modelForAccess()}
             buttonAfter={findIcon} />

class Lanes.Components.RecordFinder extends Lanes.React.Component

    propTypes:
        query:    Lanes.PropTypes.State.isRequired
        model:    Lanes.PropTypes.State.isRequired
        commands: React.PropTypes.object
        onModelSet: React.PropTypes.func

    contextTypes:
        viewport: Lanes.PropTypes.State.isRequired

        ).then(Lanes.emptyFn, Lanes.emptyFn)

    setModel: (model) ->
        if @props.parentModel
            @props.parentModel.set(@props.associationName, model)
        @props.commands?.setModel(model)
        @props.onModelSet?(model)

