Add feature to autorise and/or in relation link query