From f23fea3c67d0989a8440f4874ecc8f3846f84aca Mon Sep 17 00:00:00 2001 From: moritzbeck01 <48137462+moritzbeck01@users.noreply.github.com> Date: Fri, 22 Oct 2021 23:34:00 +0200 Subject: [PATCH] Fixed a database example When the whitelisted domain is assigned to group 2... - all other will be blocked because they are a member of the default group which gets blocked - client 1 will be blocked because it is a member of a blocklist that includes this domain (Example 2) - client 2 will not be blocked because the whitelist overrides the block from the default group (Example 3 Step 3) - client 3 will be blocked because it is a member of the default group --- docs/database/gravity/example.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/database/gravity/example.md b/docs/database/gravity/example.md index b804344..c4e5e75 100644 --- a/docs/database/gravity/example.md +++ b/docs/database/gravity/example.md @@ -237,8 +237,8 @@ Assign this domain to group 2 Client | Group membership | Domain | Blocked ------------- | ----- | ------ | ------- *all other* | Default | doubleclick.net | Yes -192.168.0.101 | Group 1 | doubleclick.net | **No** -192.168.0.102 | Group 2 + Default | doubleclick.net | Yes +192.168.0.101 | Group 1 | doubleclick.net | Yes +192.168.0.102 | Group 2 + Default | doubleclick.net | **No** 192.168.0.103 | Group 3 + Default | doubleclick.net | Yes Client 2 got the whitelist entry explicitly assigned to. Accordingly, client 2 does not get the domain blocked whereas all remaining clients still see this domain as blocked.