Skip to content

Gitlab Geo: Middleware

Gabriel Mazetto requested to merge gitlab-geo-middleware into master

Implements a Rails Middleware to prevent potential writing operations on the Readonly node of Gitlab Geo (https://gitlab.com/gitlab-org/gitlab-ee/issues/76).

We will redirect back to last visited page or root_url when any operation with Request type "POST PATCH PUT DELETE".

This is a special measure to friendly disallow potential dataloss or fatal errors while trying to change a readonly database

Merge request reports