From: Nick Porter Date: Tue, 23 Apr 2024 14:29:57 +0000 (+0100) Subject: Add notes on revised queries to upgrade.adoc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98435514d5f16451ab22c0864087f924dcef62d3;p=thirdparty%2Ffreeradius-server.git Add notes on revised queries to upgrade.adoc --- diff --git a/doc/antora/modules/installation/pages/upgrade.adoc b/doc/antora/modules/installation/pages/upgrade.adoc index e334b182f86..69cf451cb18 100644 --- a/doc/antora/modules/installation/pages/upgrade.adoc +++ b/doc/antora/modules/installation/pages/upgrade.adoc @@ -923,6 +923,39 @@ if (%sql.group(sales)) { will return `true`. +==== Accounting and Post-Auth module calls + +The `reference` option has been removed from `accounting` and `post-auth` +sql module configuration. + +Instead, the set of queries run depend on the section the module is called +from. E.g. calling from `accounting Start` will run the set of queries +defined as + +``` +accounting { + start { + query = ... + query = ... + } +} +``` + +The v3 `post-auth` configuration is now replaced with a set of `send` +queries, again with the queries run specific to the section that the +module is called from. + +``` +send { + access-accept { + query = ... + } + access-reject { + query = ... + } +} +``` + ==== Profiles The `default_user_profile` has been removed. No one used it, as that