My Nix Configuration

[marvin.anubis] Nextcloud: update rules

pyrox.dev 18e2fc92 261419b9

verified
Changed files
+17
packages
anubis-files
src
policies
+17
packages/anubis-files/src/policies/nextcloud.yaml
···
path_regex: ^/s/.*$
action: ALLOW
+
# Allow clients to load assets to not break public shares
+
- name: allow-assets
+
action: ALLOW
+
expression:
+
any:
+
# Dist files from nextcloud core
+
- 'path.startsWith("/dist/")'
+
# Core Nextcloud files
+
- 'path.startsWith("/js/core")'
+
- 'path.startsWith("/core/css/")'
+
# Viewer app files
+
- 'path.startsWith("/apps/viewer")'
+
# Theme CSS
+
- 'path.startsWith("/apps/theming/")'
+
# Public DAV endpoint
+
- 'path.startsWith("/public.php/dav/files/")'
+
- import: (data)/common/keep-internet-working.yaml
- import: CUSTOM/challenge/generic-browser.yaml