Kirk Daries
07/31/2025, 5:55 PMpermit(
principal in Role::"Editor",
action in [
Action::"document:read",
Action::"document:write",
Action::"document:delete"
],
resource in ResourceType::"document"
);
permit(
principal in Role::"LimitedEditor",
action in [
Action::"document:read",
Action::"document:write",
],
resource in ResourceType::"document"
);
Start up the stack.
You'll notice the cedar agent returns empty: http://localhost:8180/v1/policies (cedar agent)
Confirm data is present at: http://localhost:7002/policy (opal server)Ask Inkeep
07/31/2025, 5:55 PMAsk Inkeep
07/31/2025, 5:55 PMgit clone https://github.com/permitio/opal.git
cd opal
docker compose -f docker/docker-compose-example-cedar.yml up -d
The documentation indicates that you should be able to show policies with a GET request to /policies , and your observation that single policies work but multiple policies fail silently suggests a synchronization issue between OPAL and the Cedar agent.
To help our engineers investigate this issue, could you please provide:
1. Which Workspace / Project / Env you are using
2. What calls are you performing (as SDK code or CURL)
3. Which PDP version you are running
4. To share relevant logs from your PDP
Additionally, you might want to check the OPAL server logs for any warnings or errors during policy synchronization, and verify the Cedar agent logs to see if there are any parsing errors when processing multiple policies.
This issue is worth reporting to the OPAL project since it affects the core functionality of policy synchronization between OPAL and Cedar agents (1) (2) .Ask Inkeep
07/31/2025, 5:55 PMOmer Zuarets
07/31/2025, 6:25 PMKirk Daries
07/31/2025, 6:44 PMOmer Zuarets
07/31/2025, 7:10 PMKirk Daries
08/01/2025, 8:48 AM