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

Filter by access in the program list for catalog client #1526

Merged
merged 3 commits into from
Oct 29, 2024
Merged

Conversation

Tansito
Copy link
Member

@Tansito Tansito commented Oct 23, 2024

Summary

Until now we were returning in the catalog all those functions that had view access. With this PR the filter will only return those functions with view access by the user.

@Tansito Tansito changed the title Filter by access in the catalog list Filter by access in the program list for catalog client Oct 23, 2024
@Tansito Tansito requested a review from a team October 23, 2024 11:09
@@ -79,7 +79,10 @@
"image": "icr.io/awesome-namespace/awesome-title",
"author": 2,
"env_vars": "{\"PROGRAM_ENV1\": \"VALUE1\", \"PROGRAM_ENV2\": \"VALUE2\"}",
"provider": "bfe8aa6a-2127-4123-bf57-5b547293cbea"
"provider": "bfe8aa6a-2127-4123-bf57-5b547293cbea",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would you add another api.program that has only 100 instead of adding 100 here so that it can make sure this instance is not returned?

Copy link
Collaborator

@akihikokuroda akihikokuroda left a comment

Choose a reason for hiding this comment

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

The code changes look good. Would you add some notes that describe the expected return instances? Probably as comments?

@Tansito
Copy link
Member Author

Tansito commented Oct 23, 2024

Redhat is returning a 504 downloading the image, I will wait an retry the action later @akihikokuroda

@Tansito
Copy link
Member Author

Tansito commented Oct 23, 2024

@akihikokuroda it should be everything fixed now 👍

Copy link
Collaborator

@akihikokuroda akihikokuroda left a comment

Choose a reason for hiding this comment

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

LGTM!

@Tansito Tansito merged commit 6f7a5f1 into main Oct 29, 2024
10 checks passed
@Tansito Tansito deleted the list-catalog branch October 29, 2024 09:46
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.

2 participants