You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move endpoint out of server definition file and into a dedicated router file
Add authorization rules to this endpoint to only allow it to be accessed by RDPC Admin with Write permissions
Wrap existing index endpoint in a feature flag. This flag will be enabled in the central platform environment so that the existing system can trigger a reindex. It will be disabled in the RDPC environment (default behaviour) to prevent access to this endpoint that does not enforce authorization rules.
The text was updated successfully, but these errors were encountered:
The existing endpoint that allows users to request a program to be reindexed needs a few modifications to work on teh RDPC instead of in the DCC.
The endpoint is currently defined in
src/index.ts
: https://github.com/icgc-argo/donor-submission-aggregator/blob/develop/src/index.ts#L24Changes needed:
The text was updated successfully, but these errors were encountered: