loris-imageserver / loris

Loris IIIF Image Server
Other
208 stars 87 forks source link

ImageInfo/auth_rules updates #495

Closed bcail closed 4 years ago

bcail commented 4 years ago
  1. ImageInfo - rename extra to auth_rules
  2. Don't process logo/attribution/... out of extra["extraInfo"], but allow passing them into ImageInfo as parameters.
  3. In the SimpleHttpResolver, only try to fetch rules.json if use_auth_rules is True.
  4. In resolvers, use_auth_rules is now False by default (this will require anyone using rules.json to update their configuration).
bcail commented 4 years ago

@alexwlchan thanks, I updated the PR.