Add a migration to add project permissions to commit documents
Create a new Advanced Search migration which queues all commits
for indexing when they are missing any of the project permission data (visibility_level
and repository_visibility_level
).
Note: This may require re-indexing of the entire project. Consider whether it's possible to:
- use the initial indexing queue to not affect normal indexing processes
- update the documents using Elasticsearch in an Advanced Search migration to avoid going through the elasticsearch indexer
Backport for migrations
Backport Change what makes migrations completed to 15.0
Backport of two typebug MRs into 15.0. I included code that was introduced in the first MR because it is required for the second MR to work.
- !88197 (merged) (merged)
- !89539 (merged) (merged)
Edited by John McGuire