GUACAMOLE-2099: Merge add missing "AND" in SQL Server query for permission deletion.

This commit is contained in:
Virtually Nick authored and GitHub committed 2025-09-03 15:22:02 -05:00
commit 920c1cc0a3
1 file changed
+2 -2
@@ -135,7 +135,7 @@
open="(" separator=" OR " close=")"> open="(" separator=" OR " close=")">
([guacamole_user_group_permission].entity_id = #{permission.entityID,jdbcType=INTEGER} AND ([guacamole_user_group_permission].entity_id = #{permission.entityID,jdbcType=INTEGER} AND
permission = #{permission.type,jdbcType=VARCHAR} AND permission = #{permission.type,jdbcType=VARCHAR} AND
affected_entity.type = 'USER_GROUP' affected_entity.type = 'USER_GROUP' AND
<choose> <choose>
<when test="caseSensitivity.caseSensitiveGroupNames()"> <when test="caseSensitivity.caseSensitiveGroupNames()">
affected_entity.name = #{permission.objectIdentifier,jdbcType=VARCHAR} affected_entity.name = #{permission.objectIdentifier,jdbcType=VARCHAR}
@@ -189,4 +189,4 @@
</insert> </insert>
</mapper> </mapper>