Merge lp:~wgrant/charms/precise/squid-forwardproxy/auth_list-deny into lp:~canonical-launchpad-branches/charms/precise/squid-forwardproxy/trunk
Proposed by
William Grant
on 2015-08-11
| Status: | Merged |
|---|---|
| Merged at revision: | 28 |
| Proposed branch: | lp:~wgrant/charms/precise/squid-forwardproxy/auth_list-deny |
| Merge into: | lp:~canonical-launchpad-branches/charms/precise/squid-forwardproxy/trunk |
| Diff against target: |
103 lines (+54/-10) 3 files modified
config.yaml (+1/-1) hooks/hooks.py (+46/-2) templates/main_config.template (+7/-7) |
| To merge this branch: | bzr merge lp:~wgrant/charms/precise/squid-forwardproxy/auth_list-deny |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Kit Randel | 2015-08-11 | Approve on 2015-08-12 | |
|
Review via email:
|
|||
Commit Message
Allow auth_list to specify inverted matches and deny entries.
Description of the Change
Allow auth_list to specify inverted matches and deny entries.
The syntax is slightly awkward in order to maintain backward compatibility, but it's not too bad. A key in an auth dict can be prefixed with "!" to invert the http_access match, and a special "http_access" key can be used to emit an "http_access deny" rather than the previously hardcoded "http_access allow". "http_access" still defaults to "allow" if it is omitted.
To post a comment you must log in.
lp:~wgrant/charms/precise/squid-forwardproxy/auth_list-deny
updated
on 2015-08-12
- 31. By William Grant on 2015-08-12
-
Spacing.

One trivial thing, otherwise looks fine.