From c86099d84ee5d7feefabc50e342b888aaf2da891 Mon Sep 17 00:00:00 2001 From: adagio Date: Sat, 1 Jun 2024 21:26:59 -0400 Subject: [PATCH] Updates whitelist to allowlist --- docs/admin/config-cheat-sheet.md | 2 +- docs/user/actions.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/admin/config-cheat-sheet.md b/docs/admin/config-cheat-sheet.md index 5774f5d1..d134b13e 100644 --- a/docs/admin/config-cheat-sheet.md +++ b/docs/admin/config-cheat-sheet.md @@ -1164,7 +1164,7 @@ ALLOW_DATA_URI_IMAGES = true - `ELEMENT`: The element this policy applies to. Must be non-empty. - `ALLOW_ATTR`: The attribute this policy allows. Must be non-empty. -- `REGEXP`: A regex to match the contents of the attribute against. Must be present but may be empty for unconditional whitelisting of this attribute. +- `REGEXP`: A regex to match the contents of the attribute against. Must be present but may be empty for unconditional allowlisting of this attribute. - `ALLOW_DATA_URI_IMAGES`: **false** Allow data uri images (``). Multiple sanitisation rules can be defined by adding unique subsections, e.g. `[markup.sanitizer.TeX-2]`. diff --git a/docs/user/actions.md b/docs/user/actions.md index fc2f98b0..522ecc73 100644 --- a/docs/user/actions.md +++ b/docs/user/actions.md @@ -207,7 +207,7 @@ A list of command and arguments, equivalent to [[COMMAND] [ARG...]](https://docs A string of additional options, as documented [docker run](https://docs.docker.com/engine/reference/commandline/run/). For instance: "--workdir /myworkdir --ulimit nofile=1024:1024". -> **NOTE:** the `--volume` option is restricted to a whitelist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. +> **NOTE:** the `--volume` option is restricted to a allowlist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. ### username @@ -749,7 +749,7 @@ container: Set the volumes for the container to use, as if provided with the `--volume` argument of the `docker run` command. -> **NOTE:** the `--volume` option is restricted to a whitelist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. +> **NOTE:** the `--volume` option is restricted to a allowlist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. > **NOTE:** ignored if `jobs..runs-on` is an LXC container. @@ -759,7 +759,7 @@ Set the volumes for the container to use, as if provided with the `--volume` arg A string of additional options, as documented in [docker run](https://docs.docker.com/engine/reference/commandline/run/). For instance: "--workdir /myworkdir --ulimit nofile=1024:1024". -> **NOTE:** the `--volume` option is restricted to a whitelist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. +> **NOTE:** the `--volume` option is restricted to a allowlist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information. > **NOTE:** ignored if `jobs..runs-on` is an LXC container.