commit | da4919abf6995b30407f232a25c19d5dbbfe25aa | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu May 10 16:54:28 2012 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Fri May 18 09:51:09 2012 -0700 |
tree | 7747e44cb13f838caa883ff6ee6b88232e4d56a0 | |
parent | 6fa1e9121dfdf229e8c88072a57b19492e26d99f [diff] |
Expose only extension-api to extensions Unless a plugin declares "Gerrit-ApiType: plugin" in its manifest, assume it is an extension and only make the gerrit-extension-api available to it through the ClassLoader. For non-plugins, do not make any Guice bindings available from the server. This further restricts what an extension can see and do with the system internals. Change-Id: Ia38336c42786afb1419d64c06b0d908ae92a64d1