CLI: Allow relative symlinks in zip archives when installing plugins (#50537) (#50877)

Earlier we only allowed symlinks in plugins starting with grafana- in zip archives when
installing plugins using the grafana-cli. This changes so that symlinks in zip archives
containing relative links to files in the zip archive are always allowed when installing
plugins. The reasoning behind this is that Grafana per default doesn't load a plugin
that has an invalid plugin signature meaning that any symlink must be included in
the plugin signature manifest.

Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
(cherry picked from commit b47ec36d0d)
This commit is contained in:
Marcus Efraimsson
2022-06-15 17:06:08 +02:00
committed by GitHub
parent dd29063198
commit e0d1f9aedc
18 changed files with 397 additions and 889 deletions