root/resilient#3 Melhorias no registo de utilizadores
This commit is contained in:
parent
2aa75f0e13
commit
af63377a1e
11 changed files with 186 additions and 15 deletions
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
|
||||
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd
|
||||
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">
|
||||
|
||||
<!--
|
||||
Alter the entity User.
|
||||
Add flags for allowUserPwdAuth & allowSamlAuth
|
||||
-->
|
||||
<changeSet id="20250604123000-1" author="omg">
|
||||
<!-- User can authenticate with USER+PWD -->
|
||||
<addColumn tableName="jhi_user">
|
||||
<column name="allow_user_pwd_auth" type="boolean" valueBoolean="false"/>
|
||||
</addColumn>
|
||||
|
||||
<!-- User can authenticate with IDP (SAML2) -->
|
||||
<addColumn tableName="jhi_user">
|
||||
<column name="allow_saml_auth" type="boolean" valueBoolean="false"/>
|
||||
</addColumn>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="20250604123000-2" author="omg">
|
||||
<!-- Update allow_user_pwd_auth to TRUE -->
|
||||
<update tableName="jhi_users">
|
||||
<column name="allow_user_pwd" valueBoolean="true"/>
|
||||
</update>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
|
@ -104,5 +104,6 @@
|
|||
<include file="config/liquibase/changelog/20252104104000_added_entity_ResilientLog.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20250502222301_added_entity_DashboardComponentOrganization.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20250506120000_altered_entity_ResilientLog.xml" relativeToChangelogFile="false"/>
|
||||
<include file="config/liquibase/changelog/20250604123000_altered_entity_User.xml" relativeToChangelogFile="false"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue