Skip to content

Commit

Permalink
O3-3002 - Fix to duplicate uuid (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
mseaton authored Jun 11, 2024
1 parent dbbb44a commit 8e6f28f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@
</changeSet>

<changeSet id="rest_endpoints_accessed_without_authentication_2024050701" author="mujuzi" >
<validCheckSum>8:c3b62f0ec22f00b70c3562ef55318511</validCheckSum>
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
SELECT count(*) FROM privilege WHERE privilege='Get Queues';
Expand All @@ -470,10 +471,25 @@
<insert tableName="privilege">
<column name="privilege" value="Get Queues" />
<column name="description" value="Able to get/view queues" />
<column name="uuid" value="4e7bdbc8-3975-11e6-899a-a4d646d86a8a" />
<column name="uuid" value="6ccefb68-2803-11ef-b40b-0242ac120002" />
</insert>
</changeSet>

<changeSet id="rest_endpoints_accessed_without_authentication_2024050701_fix" author="mseaton" >
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="1">
SELECT count(*) FROM privilege WHERE privilege='Get Queues' and uuid='4e7bdbc8-3975-11e6-899a-a4d646d86a8a';
</sqlCheck>
</preConditions>
<comment>Update uuid for "Get Queues" privilege</comment>
<update tableName="privilege">
<column name="uuid" value="6ccefb68-2803-11ef-b40b-0242ac120002" />
<where>
privilege='Get Queues' and uuid='4e7bdbc8-3975-11e6-899a-a4d646d86a8a'
</where>
</update>
</changeSet>

<changeSet id="rest_endpoints_accessed_without_authentication_2024050702" author="mujuzi" >
<preConditions onFail="MARK_RAN">
<sqlCheck expectedResult="0">
Expand Down

0 comments on commit 8e6f28f

Please sign in to comment.