-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Teammate/quota runtime faq fixes #4573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
jkjk02
wants to merge
18
commits into
QuantumNous:main
from
Micah-Zheng:teammate/quota-runtime-faq-fixes
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4d45fac
customize frontend UI overrides
Micah-Zheng 7891a0d
Merge remote-tracking branch 'origin/main' into codex/custom-ui
Micah-Zheng 830fddf
fix: respect auto group default in API key form
Micah-Zheng 6d35ff6
customize API key group selection rules
Micah-Zheng 584a1a8
customize API key group validation highlight
Micah-Zheng d89f78e
customize navigation query parameters
Micah-Zheng 63a1db7
embed status monitor and model square in console
Micah-Zheng f2dac94
fix embedded pricing route refresh
Micah-Zheng 3fd36a2
grant admins root-level private access
Micah-Zheng bc88dfa
customize console logo and hide version
Micah-Zheng 2c468a6
use cache-busted custom logo assets
Micah-Zheng 27746b0
document private deployment workflow
Micah-Zheng 91bd75c
update SOP for collaborator workflow
Micah-Zheng 4bc32f3
clarify collaborator merge and deploy rules
Micah-Zheng 9606f58
add api request url card to keys page
jkjk02 c19561f
localize api request url card labels
jkjk02 f0f03a0
Merge pull request #1 from Micah-Zheng/teammate/add-api-request-url
jkjk02 a70c455
add uptime card to dashboard overview
jkjk02 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,3 +35,6 @@ data/ | |
| .test | ||
| token_estimator_test.go | ||
| skills-lock.json | ||
| .omx/ | ||
| .playwright-mcp/ | ||
| web/default/.omc/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Split admin-access from true root overrides before this leaks more privileges.
HasRootPermission()now returnstrueforRoleAdminUser, so any caller that used to special-case onlyRoleRootUsernow treats admins as equivalent to root. In this PR that already widens hierarchy bypasses incontroller/twofa.goLine 523 andcontroller/custom_oauth.goLines 504 and 563, which means an admin can operate on peer/root accounts. Keep a separate “admin-area access” helper and reserveHasRootPermission()for the actual root role.🔒 Suggested direction
Then update only menu/route/admin-area gates to use
HasAdminPermission, and keep same-or-higher-user protections onHasRootPermission.📝 Committable suggestion
🤖 Prompt for AI Agents