grafana/pkg/services/pluginsintegration
Giuseppe Guerra bfe1b68800
Plugins: Fs: Add option to access unallowed files in dev mode (#66492)
* Plugins: Fs: Add option to access unallowed files in dev mode

* Plugins: Fs: allow accessing unallowed files only when in dev mode

* Plugins: Fs: Add ProvideLocalFinder

* Plugins: FS: Pass whole config in NewLocalFinder()

* Plugins: FS: Add AllowListLocalFS

* Plugins: FS: Fix some tests

* Plugins: FS: Update tests

* Plugins: FS: Removed dead code

* Plugins: FS: Add tests for AllowListFS

* Plugins: FS: Update comments

* Plugins: FS: Use variadic arguments for allow list rather than map

* Plugins: FS: Remove unnecessary log

* Plugins: FS: Do not escape plugin root dir

* Fix merge conflict

* Plugins: FS: Update comments

* Plugins: FS: PR review changes

* Fix merge conflict

* Fix tests

* Cleanup

* Fix flaky test

* Changes from PR review

* Lint

* Add comment to LocalFS.Remove

* Fix Windows

* Renamed devMode to production
2023-04-27 10:26:15 +02:00
..
adapters Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
clientmiddleware Plugins: Refactor cleaning of call resource response headers (#67145) 2023-04-25 19:44:32 +02:00
config Chore: Use Grafana API to retrieve the public key to validate plugins (#66439) 2023-04-18 16:12:05 +02:00
keystore Chore: Use KVStore for the manifest public key (#66839) 2023-04-25 13:01:49 +02:00
licensing Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
pluginaccesscontrol Plugins: Migrate licensing and access control to pkg/services/pluginsintegration package (#65258) 2023-03-27 11:15:37 +02:00
plugincontext Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
pluginsettings Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
doc.go Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
pluginsintegration.go Plugins: Fs: Add option to access unallowed files in dev mode (#66492) 2023-04-27 10:26:15 +02:00