Repository security

Authorization policy checks

Compare a standalone Go authorization function with an explicit tenant and role contract.

Discuss your assessment
Illustrative recordWorkspace access policy
Policy
Workspace management
Tenant rule
Same nonempty workspace
Allowed roles
Admin or owner
Evidence
Contract and source hashes

Write down the expected policy

Identify the tenant and role parameters of a supported Go function, then state which roles may act within the same tenant. Reviewing this contract independently gives engineering and security teams a common statement of the intended behavior.

Inspect a specific decision

The checker evaluates supported branches and inputs. When an outcome conflicts with the contract, the report provides an example for the owner to review. Unsupported language constructs produce an inconclusive result.

Tie the review to source

A saved run retains hashes, relevant expression excerpts, and revision identifiers when supplied. The assessment covers the selected function. Authentication, caller-supplied identities, and whether every route invokes that function need separate review.