Skip to content

Include all projects a User has access to in Add API token view #13844

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ewdurbin
Copy link
Member

@ewdurbin ewdurbin commented Jun 2, 2023

resolves #13840 (in the ugliest way possible)

@ewdurbin ewdurbin requested a review from a team as a code owner June 2, 2023 23:05
@di
Copy link
Member

di commented Jun 2, 2023

I feel like there are probably other places where we use user.projects where we want the same behavior, should we fix this in a more broad way instead?

@ewdurbin
Copy link
Member Author

ewdurbin commented Jun 2, 2023

probably, I'm not married to this solution! just wanted to get something out there.

might be good to buff up user_projects from https://github.com/pypi/warehouse/blob/main/warehouse/manage/views/view_helpers.py

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.

Cannot create scoped token to upload organisation package, but newly personal general token works.
2 participants