pywb icon indicating copy to clipboard operation
pywb copied to clipboard

Allow for catch-all wildcard *, in ACLs

Open tw4l opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently, if a user wants to set default_access: block but allow particular users to have access to any URL, there is no way to do this other than enumerating all of the possible TLDs in their collection in an ACLJ file, e.g.:

com, - {"access": "allow", "user": "staff"}
org, - {"access": "allow", "user": "staff"}
...

Describe the solution you'd like

I'd like a user to be able to specify an ACL rule matching any possible URL, with the following syntax:

*, - {"access": "allow", "user": "staff"}

Describe alternatives you've considered

  • Requiring users to list all TLDs (cumbersome)
  • Simply using * rather than *, as the key to match any URL (doesn't match existing syntax)

Additional context

This originally came in as a user request on IIPC Slack.

tw4l avatar Feb 13 '24 17:02 tw4l