Skip to content
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

Allow pushing to authorised registry locations #799

Merged
merged 4 commits into from
Oct 23, 2023
Merged

Conversation

a3957273
Copy link
Member

No description provided.

await getModelById(v2User, modelUuid)
return checkAccessV2(access, v2User)
} catch (e) {
// do nothing, assume v1 authorisation
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to log something out here?

try {
model = await getModelById(user, modelId)
} catch (e) {
// bad model id?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another log here.

@a3957273 a3957273 merged commit a4fff01 into main Oct 23, 2023
@a3957273 a3957273 deleted the feature/registry-push branch October 23, 2023 19:03
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.

3 participants