openmeteo / enhydris

A database with a web interface for the storage and management of hydro/meteorological measurements and time series
GNU Affero General Public License v3.0
16 stars 11 forks source link

Improve authorization to access to Timeseries data (fixes #487) #490

Closed eyobofficial closed 1 year ago

eyobofficial commented 1 year ago

Fixes #487

When a Timeseries group is marked as public, it is always available for viewing and downloading the Timeseries data, overwriting whatever the current value of the ENHYDRIS_OPEN_CONTENT setting value. For logged-in users, the timeseries data is only available for viewing and downloading if they are either the owner or one of the maintainers of the station.

Checklist:

aptiko commented 1 year ago

This has been fixed in 9cf480c021b44b2e9db01acc467e1cf0c602277b.