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

backport/1.12.x: #17340 #17469

Merged
merged 2 commits into from
Oct 7, 2022
Merged

backport/1.12.x: #17340 #17469

merged 2 commits into from
Oct 7, 2022

Conversation

tvoran
Copy link
Member

@tvoran tvoran commented Oct 7, 2022

Plugins: Fix file permissions check to always use the correct path

  • Add failing test for when command != plugin name
  • wrapFactoryCheckPerms uses pluginCatalog.Get to fetch the correct command
  • Use filepath.Rel for consistency with plugin read API handler

Plugins: Fix file permissions check to always use the correct path

* Add failing test for when command != plugin name
* wrapFactoryCheckPerms uses pluginCatalog.Get to fetch the correct command
* Use filepath.Rel for consistency with plugin read API handler
@tvoran tvoran added this to the 1.12 milestone Oct 7, 2022
@tvoran tvoran requested a review from a team October 7, 2022 20:19
Copy link
Contributor

@swenson swenson left a comment

Choose a reason for hiding this comment

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

LGTM

@tvoran
Copy link
Member Author

tvoran commented Oct 7, 2022

Thanks!

@tvoran tvoran merged commit cb5d319 into release/1.12.x Oct 7, 2022
@tvoran tvoran deleted the backport/1.12.x/17340 branch October 7, 2022 20:59
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