1 | | If `authentication_type` is empty and `rasdaman_user` is set with a value in `petascope.properties` then it should use that user to request for non-updating requests (e.g. `GetCapabilities`, `GetCoverage`,...). |
2 | | It should not use `rasadmin` to request for these read requests which will return more coverages than it should be for the `unauthenticated` user. |
| 1 | - allow_write_requests_from=127.0.0.1 in petascope.properties should be removed as it adds complexity unnecessarily (see below) |
| 2 | |
| 3 | - authentication_type= (if set to empty) |
| 4 | rasdaman_user=rasguest |
| 5 | rasdaman_pass=rasguest |
| 6 | rasdaman_admin_user=rasadmin |
| 7 | rasdaman_admin_pass=rasadmin |
| 8 | |
| 9 | Then, all requests without credentials -> use rasguest. IF requests need admin permission (e.g. WCS-T), then one needs to add rasadmin:rasadmin as basic header authentication, e.g. wcst_import.sh -i ~/.rasadmin_credentials ingest.json |