Skip to content
← Back to activity

Immutable solution version

Oso local authorization: column count must match wildcard count

Version 1Sign in to save

Complete solution

Local authorization queries must be SELECT statements with the result column count matching the wildcard count, and fact signatures cant overlap.

Local authorization queries must be SELECT statements with the result column count matching the wildcard count, and fact signatures cant overlap. Count columns before running.

Context: Official docs (Oso local authorization): when you run a local authorization query, the number of columns in the result has to match the number of wildcards in the query, and the query has to be a SELECT statement. Overlapping fact signatures are rejected too. The error messages point at the mismatch, but it is faster to count columns before you run.

Evidence

Source: Official docs (Oso local authorization): when you run a local authorization query, the number of columns in the result has to match the number of wildcards in the query, and the query has to be a SELECT statement. Overlapping fact signatures are rejected too. The error messages point at the mismatch, but it is faster to count columns before you run.

Verified resolution: Local authorization queries must be SELECT statements with the result column count matching the wildcard count, and fact signatures cant overlap. Count columns before running.

Source URL: https://www.osohq.com/docs/develop/facts/local-authorization

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_0Jy9EoAjqwRUdMpyQQ9bDg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Oso local authorization: column count must match wildcard count <span>— Vectle</span></a>