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

Provide sandboxed environment for each plugin #34

Open
yasinuslu opened this issue Nov 3, 2018 · 0 comments
Open

Provide sandboxed environment for each plugin #34

yasinuslu opened this issue Nov 3, 2018 · 0 comments
Labels

Comments

@yasinuslu
Copy link
Collaborator

yasinuslu commented Nov 3, 2018

For example we should override all resolvers and in those resolvers we should call method from plugin with sandboxed context. We could do something like following:

resolver(obj, args, context, info) {
  return plugin.resolver(obj, args, context.getContext(plugin.name), info);
}
@oae oae added the security label Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants