diff --git a/.idea/dataSources.xml b/.idea/dataSources.xml
index 1152f65..15f93b9 100644
--- a/.idea/dataSources.xml
+++ b/.idea/dataSources.xml
@@ -8,5 +8,12 @@
jdbc:postgresql://localhost:5432/ferme
$ProjectFileDir$
+
+ postgresql
+ true
+ org.postgresql.Driver
+ jdbc:postgresql://localhost:5432/postgres
+ $ProjectFileDir$
+
\ No newline at end of file
diff --git a/.idea/data_source_mapping.xml b/.idea/data_source_mapping.xml
index 9036044..248117a 100644
--- a/.idea/data_source_mapping.xml
+++ b/.idea/data_source_mapping.xml
@@ -1,6 +1,7 @@
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 4308647..52b4f2c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,10 +4,12 @@
-
+
+
+
+
-
@@ -219,10 +221,13 @@
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
- "settings.editor.selected.configurable": "editor.preferences.tabs",
+ "settings.editor.selected.configurable": "preferences.keymap",
"vue.rearranger.settings.migration": "true"
},
"keyToStringList": {
+ "DatabaseDriversLRU": [
+ "postgresql"
+ ],
"com.intellij.ide.scratch.ScratchImplUtil$2/New Scratch File": [
"TEXT"
],
@@ -260,7 +265,7 @@
-
+
@@ -366,7 +371,15 @@
1769005220331
-
+
+
+ 1769008700008
+
+
+
+ 1769008700008
+
+
@@ -431,7 +444,8 @@
-
+
+
diff --git a/config/packages/security.yaml b/config/packages/security.yaml
index ca4b7b5..501b384 100644
--- a/config/packages/security.yaml
+++ b/config/packages/security.yaml
@@ -47,9 +47,11 @@ security:
# Note: Only the *first* matching rule is applied
access_control:
+ # Login JWT
- { path: ^/login_check, roles: PUBLIC_ACCESS }
+ # Liste des users en lecture publique
- { path: ^/users, roles: PUBLIC_ACCESS, methods: [GET] }
- - { path: ^/(api/)?docs, roles: PUBLIC_ACCESS }
+ # Tout le reste nécessite un JWT
- { path: ^/, roles: IS_AUTHENTICATED_FULLY }
when@test: