Skip to content

docs: add OPA playground query example#912

Open
omribz156 wants to merge 1 commit into
permitio:masterfrom
omribz156:codex/playground-query-example
Open

docs: add OPA playground query example#912
omribz156 wants to merge 1 commit into
permitio:masterfrom
omribz156:codex/playground-query-example

Conversation

@omribz156

Copy link
Copy Markdown

Fixes Issue

Closes #242

Changes proposed

  • Add an OPA playground UI query example to the OPAL Playground quickstart.
  • Show the query for finding users with the admin role.
  • Link the expected result back to the example policy repo data.json so readers can see where alice comes from.

Check List (Check all the applicable boxes)

  • I sign off on contributing this submission to open-source
  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Not applicable; docs text only.

Note to reviewers

Verification:

  • Checked the current permitio/opal-example-policy-repo data.json and rbac.rego via GitHub API before adding the query/result.
  • yarn install --frozen-lockfile in documentation/
  • yarn build in documentation/

The docs build passed. It still reports existing broken anchors on unrelated pages, including #compose-recap, #generate-secret, and several tutorial anchors.

This was implemented with Codex assistance and manually reviewed before opening the PR.

@netlify

netlify Bot commented May 19, 2026

Copy link
Copy Markdown

Deploy Preview for opal-docs ready!

Name Link
🔨 Latest commit 3a9f573
🔍 Latest deploy log https://app.netlify.com/projects/opal-docs/deploys/6a0c85f47800dd0008d2e389
😎 Deploy Preview https://deploy-preview-912--opal-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: More details into utilizing the examples

1 participant