Skip to content

Define multiple rules #66

Discussion options

You must be logged in to vote

Hi @gituserjava 👋

Yes, the way you've done it with multiple allow rules is the idiomatic way of doing it. If there are a lot of lines being repeated you could move those to a separate helper rule, but in your case it seems the conditions are unique for each allow rule, so that's the best way of doing it.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@gituserjava
Comment options

@anderseknert
Comment options

@gituserjava
Comment options

Answer selected by anderseknert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants
Converted from issue

This discussion was converted from issue #65 on November 11, 2021 07:27.