fix(site): 网页上传去掉邮箱限制,改为按 GitHub 账号先到先得#9
Merged
Conversation
…login
The upload preview still blocked submissions whose deb Maintainer email was
not among the user's verified GitHub emails ("提交会被拒绝"), even though the
Worker and packages Actions moved to first-come-first-served ownership keyed on
the uploader's GitHub login.
- preview: replace the Maintainer-email match check with an uploader
attribution line; block only on danger verdict, not-logged-in, or version/
ownership conflicts.
- ownership/version preflight: derive the owner login from the index
Maintainer noreply address (best-effort; the server re-checks uploaded_by).
- my-packages: list packages owned by the logged-in login instead of by
matching Maintainer email.
- copy update in index.html to describe the first-come model.
Co-authored-by: Cursor <cursoragent@cursor.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
网页前端预检漏改,仍按 deb Maintainer 邮箱匹配(提示'提交会被拒绝'),导致包传不上去。本 PR 把 site/app.js 预检改为按上传者 GitHub login 先到先得(与已合并的 #8 及 AppBuilder/packages 一致),并更新 index.html 文案。
Made with Cursor