Add support for limited indexing
Problem to solve
Advanced search can be limited by namespace or project. WorkItems need to be indexed if the associated namespace or project is allowed to use advanced search
Proposal
Work items need to check both namespace and project (if there is a project) to see if the work item should be using advanced search or not. I think the namespace check can come first, but we also need to check project.
Ensure that the following workflows work:
settings | operation |
---|---|
group enabled for limiting |
gitlab:elastic:index adds data to index |
group enabled for limiting |
gitlab:elastic:index_group_entities adds data to index |
group enabled for limiting | remove group from limiting setting deletes data from index |
group enabled for limiting | add group to limiting setting adds data to index |
project enabled for limiting |
gitlab:elastic:index adds data to index |
project enabled for limiting |
gitlab:elastic:index_projects adds data to index |
project enabled for limiting | remove project from limiting setting deletes data from index |
project enabled for limiting | add project to limiting setting adds data to index |
Edited by Terri Chu