From 1a43ca7b8a31b91f77ce7b8e3db2857393752124 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Sat, 13 Mar 2021 09:36:22 +1100 Subject: [PATCH] docs(authorization): document changed resources behavior (#1819) I missed documenting this change, but prior to 4.27.0 the query param was never considered when matching resources. But that's no longer the case. Fixes #1817 --- docs/configuration/access-control.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/configuration/access-control.md b/docs/configuration/access-control.md index 15cc1a6b7..6aeb0e5f4 100644 --- a/docs/configuration/access-control.md +++ b/docs/configuration/access-control.md @@ -102,8 +102,9 @@ A rule can define multiple regular expressions for matching the path of the reso similar to the list of domains. If any one of them matches, the resource criteria of the rule matches. -Note that regular expressions can be used to match a given path. However, they do not match -the query parameters in the URL, only the path. +Note that regular expressions can be used to match a given path. However prior to 4.27.0, they do not match +the query parameters in the URL, only the path. If you're upgrading to 4.27.0+ you may have to alter some +resource rules to get them to work as they previously did. You might also face some escaping issues preventing Authelia to start. Please make sure that when you are using regular expressions, you enclose them between quotes. It's optional but