Skip to content

Commit

Permalink
Fixed #2073: no default value for isPublic and restricted columns
Browse files Browse the repository at this point in the history
  • Loading branch information
hylkevds committed Dec 9, 2024
1 parent 1738145 commit 6542af7
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

**Internal changes & Bugfixes**
* Fixed #2072: Users are always anonymous when combining keycloak, finegrained auth and anonymous access.
* Fixed #2073: Projects plugin has no default value for isPublic and restricted columns.


## Release version 2.5.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
</addColumn>
</changeSet>

<changeSet author="generated" id="2024-12-04-DATASTREAMS-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<addDefaultValue tableName="DATASTREAMS" columnName="RESTRICTED" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
</addColumn>
</changeSet>

<changeSet author="generated" id="2024-12-04-FEATURES-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<addDefaultValue tableName="FEATURES" columnName="RESTRICTED" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,9 @@
</createIndex>
</changeSet>

<changeSet author="generated" id="2024-12-04-LOCATIONS-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<addDefaultValue tableName="LOCATIONS" columnName="RESTRICTED" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,13 @@
</addColumn>
</changeSet>

<changeSet author="generated" id="2024-12-04-MULTI_DATASTREAMS-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<preConditions onFail="CONTINUE">
<tableExists tableName="MULTI_DATASTREAMS"/>
<columnExists columnName="RESTRICTED" tableName="MULTI_DATASTREAMS" />
</preConditions>
<addDefaultValue tableName="MULTI_DATASTREAMS" columnName="RESTRICTED" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,9 @@
</createIndex>
</changeSet>

<changeSet author="generated" id="2024-12-04-PROJECTS-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<addDefaultValue tableName="PROJECTS" columnName="ISPUBLIC" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,9 @@
</addColumn>
</changeSet>

<changeSet author="generated" id="2024-12-04-THINGS-4" objectQuotingStrategy="QUOTE_ALL_OBJECTS">
<addDefaultValue tableName="THINGS" columnName="RESTRICTED" defaultValueBoolean="false" />
</changeSet>

</databaseChangeLog>

0 comments on commit 6542af7

Please sign in to comment.