Directory-based access control with Assistants API - Is it possible?

Hey there, OpenAI community!

I’m scratching my head over here trying to figure out if it’s possible to implement directory-based access control for file searches using the Assistants API. :thinking:

Here’s the deal:

  1. I want to let users search files, but only in directories they have access to.
  2. Tried the Vector Store approach, but it seems like Assistants and Vector Stores are in a pretty exclusive relationship (1:1).
  3. This makes it tricky to do flexible searches across multiple directories or departments.

So, I’m wondering:

  1. Has anyone cracked this nut? Any clever workarounds?
  2. Are there any cool hybrid solutions you’ve tried, maybe mixing Assistants API with some custom search magic?
  3. Any word on the grapevine about OpenAI planning to make this easier in the future?

I’d love to hear your thoughts, experiences, or even wild ideas! Thanks a bunch! :raised_hands: