Hi Hugues Bocquet Great question! This seems like expected behavior. If an agent uses data from a restricted Pod, Dust restricts the agent to members of that Pod so the agent cannot become a way to access private Pod data.
If the goal is for everyone to use the agent, but for the agent to search only a specific set of information, I would not necessarily use a restricted Pod for that.
You can:
Keep the approved content in Company Data
Configure the agent’s Knowledge/Search capability to use only the specific folders or sources you want
Keep the agent published and available to everyone
Selecting specific Company Data sources scopes that search capability to those sources. I would just make sure the agent does not have another broader search capability, skill, or Space that gives it access to additional data.
If the Pod itself is safe for everyone to access, making the Pod open should also remove the agent restriction. You can do this by following these steps - Pods > {pod_name} > Gear icon > Check Open to Everyone