Intro | Question | Answer | |
Using Access Control Lists (ACLs) with both addresses and keys
Updated on 06 Sep 2018 2 Minutes to read Contributors [Suzanne Goldlust] [Evan Hunt] Question:
How can I configure allow-update to permit updates, only if BOTH of the following are true?
{ A; B; } | == A is allowed, accept immediately |
{ { A; }; B; } | == A is allowed, accept immediately |
{ !A; B; } | == A is forbidden, reject immediately |
{ !{ A; }; B; } | == A is forbidden, reject immediately |
{ { !A; }; B; } | == A matched but was negated, try element B |
{ !{ !A; }; B; } | == A matched but was negated, try element B |
{ !A; any; }; B; } | == any address other than A is accepted at once,
but A is only accepted if B matches too. boolean translation: ((not A) or (A and B)) |
{ !A; any; }; B; } | == any address other than A is *rejected* at once,
but A is accepted as long as B matches too. boolean translation: (A and B) |