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
pull/1820/head^2
James Elliott 2021-03-13 09:36:22 +11:00 committed by GitHub
parent 5e72f8e8c7
commit 1a43ca7b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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 similar to the list of domains. If any one of them matches, the resource criteria of
the rule matches. the rule matches.
Note that regular expressions can be used to match a given path. However, they do not match 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. 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 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 when you are using regular expressions, you enclose them between quotes. It's optional but