updated code for PreAuthorize role
This commit is contained in:
@@ -66,6 +66,9 @@
|
||||
</column>
|
||||
<column name="role_name" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="role_type" type="VARCHAR(255)">
|
||||
<constraints nullable="false"/>
|
||||
</column>
|
||||
<column name="description" type="VARCHAR(255)">
|
||||
<constraints nullable="true"/>
|
||||
@@ -314,7 +317,8 @@
|
||||
<changeSet id="22-08-2024_2" author="Harish Bagora">
|
||||
<!-- Insert data for Beneficiaries role -->
|
||||
<insert tableName="role">
|
||||
<column name="role_name" value="BENEFICIARIES"/>
|
||||
<column name="role_name" value="beneficiary"/>
|
||||
<column name="role_type" value="ROLE_BENEFICIARY"/>
|
||||
<column name="description" value="Companies or individuals looking for financing opportunities. They can view, search, and apply to available calls."/>
|
||||
<column name="created_date" value="2024-08-14 00:00:00"/>
|
||||
<column name="updated_date" value="2024-08-14 00:00:00"/>
|
||||
@@ -324,7 +328,8 @@
|
||||
|
||||
<!-- Insert data for Super Admin role -->
|
||||
<insert tableName="role">
|
||||
<column name="role_name" value="SUPER_ADMIN"/>
|
||||
<column name="role_name" value="super admin"/>
|
||||
<column name="role_type" value="ROLE_SUPER_ADMIN"/>
|
||||
<column name="description" value="Manages the creation and publication of tenders and administers internal system users."/>
|
||||
<column name="created_date" value="2024-08-14 00:00:00"/>
|
||||
<column name="updated_date" value="2024-08-14 00:00:00"/>
|
||||
@@ -334,7 +339,8 @@
|
||||
|
||||
<!-- Insert data for Pre-instructors role -->
|
||||
<insert tableName="role">
|
||||
<column name="role_name" value="PRE_INSTRUCTORS"/>
|
||||
<column name="role_name" value="pre instructor"/>
|
||||
<column name="role_type" value="ROLE_PRE_INSTRUCTOR"/>
|
||||
<column name="description" value="They evaluate the applications sent by beneficiaries and manage the preliminary relief process."/>
|
||||
<column name="created_date" value="2024-08-14 00:00:00"/>
|
||||
<column name="updated_date" value="2024-08-14 00:00:00"/>
|
||||
@@ -344,7 +350,8 @@
|
||||
|
||||
<!-- Insert data for Gepafin Operators role -->
|
||||
<insert tableName="role">
|
||||
<column name="role_name" value="GEPAFIN_OPERATORS"/>
|
||||
<column name="role_name" value="gepafin operator"/>
|
||||
<column name="role_type" value="ROLE_GEPAFIN_OPERATOR"/>
|
||||
<column name="description" value="They manage the subsequent phases of the evaluation after the pre-investigation."/>
|
||||
<column name="created_date" value="2024-08-14 00:00:00"/>
|
||||
<column name="updated_date" value="2024-08-14 00:00:00"/>
|
||||
|
||||
@@ -7,6 +7,7 @@ update_user_error_msg=An error occurred while updating the user.
|
||||
delete_user_error_msg=An error occurred while deleting the user.
|
||||
get_user_success_msg=User retrieved successfully.
|
||||
get_user_error_msg=An error occurred while retrieving the user.
|
||||
user.not.active=User is not active. Please contact support.
|
||||
# Role-related messages
|
||||
role.created.success=Role created successfully.
|
||||
role.updated.success=Role updated successfully.
|
||||
|
||||
@@ -7,6 +7,7 @@ update_user_error_msg=Si <20> verificato un errore durante l'aggiornamento dell'u
|
||||
delete_user_error_msg=Si <20> verificato un errore durante l'eliminazione dell'utente.
|
||||
get_user_success_msg=Utente recuperato con successo.
|
||||
get_user_error_msg=Si <20> verificato un errore durante il recupero dell'utente.
|
||||
user.not.active=Utente non attivo. Si prega di contattare il supporto.
|
||||
# Role-related messages
|
||||
role.created.success=Ruolo creato con successo.
|
||||
role.updated.success=Ruolo aggiornato con successo.
|
||||
|
||||
Reference in New Issue
Block a user