Add ROLE_INCARICATO, configure mail, and add booking visualization specs
- Add ROLE_INCARICATO authority (AuthoritiesConstants, authority.csv) - Configure SMTP mail settings for dev and prod environments - Add faIdCard icon to FontAwesome config - Add feature spec for booking visualization and management by role Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Simone Bierti
parent
f61e9b512c
commit
b4d0ca4898
@@ -7,6 +7,8 @@ public final class AuthoritiesConstants {
|
||||
|
||||
public static final String ADMIN = "ROLE_ADMIN";
|
||||
|
||||
public static final String INCARICATO = "ROLE_INCARICATO";
|
||||
|
||||
public static final String USER = "ROLE_USER";
|
||||
|
||||
public static final String ANONYMOUS = "ROLE_ANONYMOUS";
|
||||
|
||||
@@ -42,10 +42,15 @@ spring:
|
||||
# Remove 'faker' if you do not want the sample data to be loaded automatically
|
||||
contexts: dev, faker
|
||||
mail:
|
||||
host: localhost
|
||||
port: 25
|
||||
username:
|
||||
password:
|
||||
host: smtps.aruba.it
|
||||
port: 465
|
||||
username: noreply@bigc.it
|
||||
password: Ungr@nb3l4n1m4l0
|
||||
protocol: smtps
|
||||
properties.mail.smtp:
|
||||
auth: true
|
||||
starttls.enable: true
|
||||
|
||||
messages:
|
||||
cache-duration: PT1S # 1 second, see the ISO 8601 standard
|
||||
thymeleaf:
|
||||
|
||||
@@ -43,10 +43,14 @@ spring:
|
||||
liquibase:
|
||||
contexts: prod
|
||||
mail:
|
||||
host: localhost
|
||||
port: 25
|
||||
username:
|
||||
password:
|
||||
host: smtps.aruba.it
|
||||
port: 465
|
||||
username: noreply@bigc.it
|
||||
password: Ungr@nb3l4n1m4l0
|
||||
protocol: smtps
|
||||
properties.mail.smtp:
|
||||
auth: true
|
||||
starttls.enable: true
|
||||
thymeleaf:
|
||||
cache: true
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ jhipster:
|
||||
# allow-credentials: true
|
||||
# max-age: 1800
|
||||
mail:
|
||||
from: smartbooking@localhost
|
||||
from: noreply@bigc.it
|
||||
api-docs:
|
||||
default-include-pattern: /api/**
|
||||
management-include-pattern: /management/**
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
name
|
||||
ROLE_ADMIN
|
||||
ROLE_USER
|
||||
ROLE_INCARICATO
|
||||
|
||||
|
@@ -16,6 +16,7 @@ import { faEye } from '@fortawesome/free-solid-svg-icons/faEye';
|
||||
import { faFlag } from '@fortawesome/free-solid-svg-icons/faFlag';
|
||||
import { faHeart } from '@fortawesome/free-solid-svg-icons/faHeart';
|
||||
import { faHome } from '@fortawesome/free-solid-svg-icons/faHome';
|
||||
import { faIdCard } from '@fortawesome/free-solid-svg-icons/faIdCard';
|
||||
import { faList } from '@fortawesome/free-solid-svg-icons/faList';
|
||||
import { faLock } from '@fortawesome/free-solid-svg-icons/faLock';
|
||||
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons/faPencilAlt';
|
||||
@@ -69,6 +70,7 @@ export function initFortAwesome(vue: App) {
|
||||
faFlag,
|
||||
faHeart,
|
||||
faHome,
|
||||
faIdCard,
|
||||
faList,
|
||||
faLock,
|
||||
faPencilAlt,
|
||||
|
||||
Reference in New Issue
Block a user