Need Reindexing Flag Setup (#2102)

This commit is contained in:
Yuhong Sun
2024-08-09 17:44:57 -07:00
committed by GitHub
parent 7bfa99766d
commit c8ead6a0dc
21 changed files with 169 additions and 265 deletions

View File

@ -1,9 +0,0 @@
"""Script which updates Vespa to align with the access described in Postgres.
Should be run when a user who has docs already indexed switches over to the new
access control system. This allows them to not have to re-index all documents.
NOTE: this is auto-run on server startup, so should not be necessary in most cases."""
from danswer.utils.acl import set_acl_for_vespa
if __name__ == "__main__":
set_acl_for_vespa()