From 261ab1364aa40384b0315be60e78cd89ea7fe661 Mon Sep 17 00:00:00 2001 From: winter Date: Sun, 23 Feb 2025 18:32:09 +0000 Subject: implement policies --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 01b0bf8..9fe8e2e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ whenever you want to update to the latest version (from git) you should: if it looks messed up in your web browser after updating, you should be able to fix it by force reloading the page once +## policies + +digitigrade has a "policy" mechanism that allows you to alter or outright +reject incoming notes/actors/interactions as well as anything created by local +users, according to your needs. there are some built-in policies (such as +`Digitigrade\Policy\BlockInstance` which rejects anything from certain +instances) and you can configure them in `policies.conf.php`. + +the default configuration allows you to specify a list of blocked instances in +the file `blocked-instances.txt`, one domain per line + ## sample nginx configuration ```nginx -- cgit v1.3