mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-697: Merge addition of DISTINCT to "selectOne" permission queries.
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_group_id
|
connection_group_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_id
|
connection_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
sharing_profile_id
|
sharing_profile_id
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserPermissionResultMap">
|
<select id="selectOne" resultMap="UserPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_group_id
|
connection_group_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_id
|
connection_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
sharing_profile_id
|
sharing_profile_id
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserPermissionResultMap">
|
<select id="selectOne" resultMap="UserPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_group_id
|
connection_group_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
<select id="selectOne" resultMap="ConnectionPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
connection_id
|
connection_id
|
||||||
|
@@ -51,7 +51,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
<select id="selectOne" resultMap="SharingProfilePermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
sharing_profile_id
|
sharing_profile_id
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
<select id="selectOne" resultMap="UserGroupPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
<!-- Select the single permission matching the given criteria -->
|
<!-- Select the single permission matching the given criteria -->
|
||||||
<select id="selectOne" resultMap="UserPermissionResultMap">
|
<select id="selectOne" resultMap="UserPermissionResultMap">
|
||||||
|
|
||||||
SELECT
|
SELECT DISTINCT
|
||||||
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
#{entity.entityID,jdbcType=INTEGER} AS entity_id,
|
||||||
permission,
|
permission,
|
||||||
affected_entity.name AS affected_name
|
affected_entity.name AS affected_name
|
||||||
|
Reference in New Issue
Block a user