1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
pywb/tests/config_test_access.yaml
Tessa Walsh 86ee3bd752
Allow ACLJs to use *, SURT wildcard to match all URLs (#882)
Also adds tests and documentation
2024-04-03 17:11:58 -04:00

75 lines
1.8 KiB
YAML

debug: true
collections:
pywb:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
acl_paths: ./sample_archive/access/pywb.aclj
default_access: block
pywb-acl-list:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
acl_paths:
- ./sample_archive/access/pywb.aclj
- ./sample_archive/access/list2.aclj
default_access: block
pywb-acl-dir:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
acl_paths: ./sample_archive/access/
default_access: block
pywb-embargo-before:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
embargo:
before: '2014012700'
pywb-embargo-after:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
embargo:
after: '2014012700'
pywb-embargo-older:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
embargo:
older:
years: 1
months: 6
pywb-embargo-newer:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
embargo:
newer:
years: 1
months: 6
pywb-embargo-acl:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
embargo:
older:
years: 1
acl_paths:
- ./sample_archive/access/pywb.aclj
pywb-wildcard-surt:
index_paths: ./sample_archive/cdx/
archive_paths: ./sample_archive/warcs/
default_access: block
acl_paths:
- ./sample_archive/access/allow_all.aclj