Skip to content

Fix docs: home_block precedence over home_allow - #24

Merged
umago merged 1 commit into
mainfrom
home_allow_block-clarification
Jul 24, 2026
Merged

Fix docs: home_block precedence over home_allow#24
umago merged 1 commit into
mainfrom
home_allow_block-clarification

Conversation

@umago

@umago umago commented Jul 24, 2026

Copy link
Copy Markdown
Owner

The README and AGENTS.md stated that home_allow takes precedence over home_block. This is inaccurate, home_block takes precedence at the same nesting level.

The two can be combined at different nesting levels to block sub-paths inside allowed directories, or re-expose sub-paths inside blocked directories. Add examples to the README and clarify the behavior in AGENTS.md.

Fixes #9

The README and AGENTS.md stated that home_allow takes precedence over
home_block. This is inaccurate, home_block takes precedence at the
same nesting level.

The two can be combined at different nesting levels to block sub-paths
inside allowed directories, or re-expose sub-paths inside blocked
directories. Add examples to the README and clarify the behavior in
AGENTS.md.

Fixes #9

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
@umago
umago merged commit 6a722a3 into main Jul 24, 2026
1 check passed
@umago
umago deleted the home_allow_block-clarification branch July 24, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarification on home_{allow,block} precedence

1 participant