GUACAMOLE-394: Disambiguate "user_id" column, now that connection query joins the connection history table.

This commit is contained in:
Michael Jumper
2017-09-18 11:56:14 -07:00
parent 28e7d215ac
commit 58054719b3
3 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@
open="(" separator="," close=")">
#{identifier,jdbcType=INTEGER}
</foreach>
AND user_id = #{user.objectID,jdbcType=INTEGER}
AND [guacamole_connection_permission].user_id = #{user.objectID,jdbcType=INTEGER}
AND permission = 'READ'
GROUP BY [guacamole_connection].connection_id;