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

Modify permissions dialog for plugins #23742

Merged
merged 3 commits into from
Mar 27, 2017

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented Mar 24, 2017

This commit modifies the handling of plugins that require special permissions to cover a case that was not previously covered.

This commit modifies the handling of plugins that require special
permissions to cover a case that was not previously covered.
Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM, I left two minor nits.

spawnNativePluginController(spawnPath, environment.tmpFile());
}
void spawnNativePluginControllers(final Environment environment) throws IOException {
if (!spawned.compareAndSet(false, true)) {
Copy link
Member

Choose a reason for hiding this comment

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

I see those C tendencies, and digust for == false, creeping back in. :)

import java.nio.file.Path;
import java.util.Locale;

public class Plugins {
Copy link
Member

Choose a reason for hiding this comment

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

Can we use a different name, so that this is not one character off from the Plugin class?

@jasontedor jasontedor merged commit defd045 into elastic:master Mar 27, 2017
jasontedor added a commit that referenced this pull request Mar 27, 2017
This commit modifies the handling of plugins that require special
permissions to cover a case that was not previously covered.

Relates #23742
@jasontedor jasontedor deleted the ask-and-you-shall-receive branch March 27, 2017 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants