4980b64274
RBAC: Remove legacy ac from authorization middleware ( #68898 )
...
remove legacy AC fallback from RBAC middleware, and some unused auth logic
2023-05-24 09:49:42 +01:00
af987ae636
SupportBundles: Add bundle encryption based on age ( #62501 )
...
* add bundle encryption based on age
* undo changes to grafana-data
* sort deps
* test bundle creation and encryption
* use whitespace separator
* add support bundle config documentation
* Update docs/sources/troubleshooting/support-bundles/index.md
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* touch up docs
* extract encrypt
* Update docs/sources/troubleshooting/support-bundles/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update docs/sources/troubleshooting/support-bundles/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-02-24 09:24:44 -06:00
f9163351fd
Support bundles: Refactor registry into separate service ( #62945 )
...
* add bundle registry service to avoid dependency cycles
* move user support bundle collector to user service
* move usage stat bundle implementation to usage stats
* add info for background service
* fix remaining imports
* whitespace
2023-02-06 17:50:03 +01:00
6c5a573772
Chore: Move ReqContext to contexthandler service ( #62102 )
...
* Chore: Move ReqContext to contexthandler service
* Rename package to contextmodel
* Generate ngalert files
* Remove unused imports
2023-01-27 08:50:36 +01:00
1037ef28a9
SupportBundles: Access control guards ( #61914 )
...
* rename routes and fix access control for support bundles
* AccessControl: Hide menu if not authorized
* AccessControl: Add AC guards for create and delete
* lint
2023-01-23 16:23:20 +00:00
caae4fd034
SupportBundles: Add config enablement ( #61776 )
...
* wip
* implement role middleware drop
* remove not implement feature
* change grants based on config
* Update pkg/services/supportbundles/supportbundlesimpl/models.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-01-20 08:59:15 +00:00
9e097c531d
SupportBundles: Build tars in memory ( #61581 )
...
* build tar in memory
* match tag
2023-01-17 11:39:59 +01:00
c74d86ca27
SupportBundles: Move support bundles to services ( #60986 )
...
* move support bundles to services
* update CODEOWNERS
2023-01-04 17:33:18 +01:00