# HG changeset patch # User Alain Mazy # Date 1752748978 -7200 # Node ID 3882106b0d87d1740b94ecd2e390a395ea4f0d45 # Parent 28abb0c74264d285d9472de6dbabf7be11beee0d new audit-logs permission diff -r 28abb0c74264 -r 3882106b0d87 NEWS --- a/NEWS Wed Jul 16 09:18:32 2025 +0200 +++ b/NEWS Thu Jul 17 12:42:58 2025 +0200 @@ -11,7 +11,13 @@ provides it. * The User profile can now contain an "id" field if the auth-service provides it. -* New experimental feature: audit-logs (TODO) - config "EnableAuditLogs" +* New experimental feature: audit-logs + - Enabled by the "EnableAuditLogs" configuration. + - Audit-logs are currently handled by the PostgreSQL plugin and can be + browsed through the route /plugins/postgresql/audit-logs. + - New default permission "audit-logs" to grant access to the + "/plugins/postgresql/audit-logs" route. + 2025-07-14 - v 0.9.4 diff -r 28abb0c74264 -r 3882106b0d87 Plugin/DefaultConfiguration.json --- a/Plugin/DefaultConfiguration.json Wed Jul 16 09:18:32 2025 +0200 +++ b/Plugin/DefaultConfiguration.json Thu Jul 17 12:42:58 2025 +0200 @@ -128,8 +128,10 @@ // permission settings ["put", "^/auth/settings/roles$", "admin-permissions"], ["get", "^/auth/settings/roles$", "admin-permissions"], - ["get", "^/auth/settings/permissions$", "admin-permissions"] - + ["get", "^/auth/settings/permissions$", "admin-permissions"], + + // audit-logs + ["get", "^/plugins/postgresql/audit-logs$", "admin-permissions|audit-logs"] ] } } \ No newline at end of file