website/docs: improve docs for expressions

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-05-29 21:47:35 +02:00
parent 6232333a52
commit a4c28a28b4
10 changed files with 122 additions and 81 deletions

View File

@ -26,8 +26,8 @@ class BaseEvaluator:
_filename: str
def __init__(self):
# update authentik/policies/expression/templates/policy/expression/form.html
# update website/docs/policies/expression.md
# update website/docs/expressions/_objects.md
# update website/docs/expressions/_functions.md
self._globals = {
"regex_match": BaseEvaluator.expr_filter_regex_match,
"regex_replace": BaseEvaluator.expr_filter_regex_replace,