Skip to content

Separate Explorer curation and model quota grants - #3202

Open
shizn wants to merge 3 commits into
mainfrom
fix/separate-explorer-permissions
Open

shizn wants to merge 3 commits into
mainfrom
fix/separate-explorer-permissions

Conversation

@shizn

@shizn shizn commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

Separate the grant for curating Explorer questions from the grant for a higher model quota. Recommendation, tag, and refresh operations require curation permission. Explorer and the SQL generation endpoints use the quota grant to select the existing higher limit.

Apply the new permission table before rolling out the API. Review existing memberships and grant each capability individually. Users without the quota grant keep the regular quota. Operators can revoke either grant independently.

The API and its dependencies built successfully. All 589 API security tests and seven integration tests passed locally. The TiDB integration uses the production DDL and covers each combination of grants, a legacy-only user, and revoking one permission while retaining the other.

This PR builds on the ETL Puma 8.0.4 update in #3183. The container audit runs against the combined changes. The Explorer changes against that base are byte-for-byte identical to the original patch. Merge #3183 first.

@vercel

vercel Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ossinsight-docs Ready Ready Preview Nov 29, 2026 6:14pm UTC
ossinsight-web Ready Ready Preview Nov 29, 2026 6:14pm UTC

Request Review

@shizn
shizn changed the base branch from main to fix/etl-puma-patch November 28, 2026 16:47
Base automatically changed from fix/etl-puma-patch to main November 29, 2026 07:25

This branch was successfully deployed

2 active deployments
Preview – ossinsight-web — 05236c6c Deployed Nov 29, 2026 by vercel[bot]
Preview – ossinsight-docs — 05236c6c Deployed Nov 29, 2026 by vercel[bot]
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.

1 participant