GetFeatureInfo fails on pre-genalized data store when the user is anonymous

Description

The error looks as follows:

This happens because the pre-generalized store picks a DataStore via the Repository interface, and then grabs the feature sources out of it, instead of asking the Catalog directly like the rest of the code does.

The ReadOnlyDataStore in turn fails to build an appropriate policy type for the returned secured feature source, causing the error above.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure