grafana/pkg/api
Gabriel MABILLE 4be9ec8f72
AccessControl: Protect org users lookup (#38981)
* Move legacy accesscontrol to middleware layer

* Remove bus usage for this endpoint

* Add tests for legacy accesscontrol

* Fix tests for org user and remove one more bus usage

* Added test for FolderAdmin as suggested in the review
2021-09-17 09:19:36 +02:00
..
apierrors Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
avatar Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
datasource Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
dtos Allow white labeling loading logo (#36174) 2021-07-02 14:17:10 +02:00
frontendlogging PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
pluginproxy Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
response [Alerting] Forking LoTex ruler (#32138) 2021-03-19 10:32:13 -04:00
routing Macaron cleanup (#37795) 2021-08-30 11:48:34 +02:00
static Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
acl.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
admin_provisioning_test.go Revert "Revert "AccessControl: Implement a way to register fixed roles (#35641)" (#37397)" (#37535) 2021-08-04 14:44:37 +02:00
admin_provisioning.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
admin_test.go Access Control: Add fine-grained access control to GET stats and settings handlers (#35622) 2021-06-14 17:36:48 +02:00
admin_users_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
admin_users.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
admin.go Access Control: refactor permission evaluator to be more flexible (#35996) 2021-08-24 11:36:28 +02:00
alerting_test.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
alerting.go Chore: fix param names in ctx.ParamsInt64 (#39223) 2021-09-15 12:14:15 +02:00
annotations_test.go Annotations: Adds tags endpoint (#36199) 2021-06-30 13:42:54 +02:00
annotations.go Chore: Replace util.DynMap with structs (#36332) 2021-07-01 10:23:33 +02:00
api.go AccessControl: Protect org users lookup (#38981) 2021-09-17 09:19:36 +02:00
apikey.go Return 404 when deleting non-existing API key (#33346) 2021-04-28 13:30:09 +02:00
app_routes.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
basic_auth_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
basic_auth.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
common_test.go AccessControl: add one-dimensional permissions to datasources (#38070) 2021-09-01 15:18:17 +02:00
dashboard_permission_test.go Instrumentation: add context.Context to the dashboard get flow. (#34955) 2021-06-15 16:08:27 +02:00
dashboard_permission.go Instrumentation: add context.Context to the dashboard get flow. (#34955) 2021-06-15 16:08:27 +02:00
dashboard_snapshot_test.go Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714) 2021-09-01 13:05:15 +02:00
dashboard_snapshot.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
dashboard_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
dashboard.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
dataproxy.go Data Source Proxy: Migrate proxy to its own service and make more extensible (#31927) 2021-03-17 13:10:40 -04:00
datasources_test.go Access control: Add a scope to Data Sources GET endpoint (#38933) 2021-09-07 17:13:11 +02:00
datasources.go Chore: fix param names in ctx.ParamsInt64 (#39223) 2021-09-15 12:14:15 +02:00
fakes.go PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
folder_permission_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
folder_permission.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
folder_test.go Chore: GetDashboardQuery should be dispatched using DispatchCtx (#36877) 2021-09-14 16:08:04 +02:00
folder.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
frontend_logging_test.go PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
frontend_logging.go Logging: sourcemap support for frontend stacktraces (#30590) 2021-02-04 08:37:28 +02:00
frontend_metrics.go FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus (#32593) 2021-04-01 20:04:02 +02:00
frontendsettings_test.go Macaron: Strip down renderer middleware (#37627) 2021-08-10 13:29:46 +02:00
frontendsettings.go Analytics: Instrument Azure Application Insights (#38553) 2021-09-15 13:00:38 +02:00
grafana_com_proxy.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
health_test.go Backend: Migrate to using non-global configuration (#31856) 2021-03-10 12:41:29 +01:00
health.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
http_server_test.go Tests: Batch of GoConvey to Testify conversions (#27008) 2020-08-14 14:43:25 +02:00
http_server.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
index.go Live: return pipeline menu, now with feature toggle (#39280) 2021-09-16 08:34:12 -07:00
ldap_debug_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
ldap_debug.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
login_oauth.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
login_test.go Chore: Remove global encryption calls from authinfoservice (#38591) 2021-08-31 14:00:13 +02:00
login.go Encryption: Extract encryption into service (#38442) 2021-08-30 19:39:55 +02:00
metrics.go Grafana: include a built-in backend datasource (#38571) 2021-09-10 07:44:47 -07:00
org_invite.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
org_users_test.go AccessControl: Protect org users lookup (#38981) 2021-09-17 09:19:36 +02:00
org_users.go AccessControl: Protect org users lookup (#38981) 2021-09-17 09:19:36 +02:00
org.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
password.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
playlist_play.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
playlist.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
plugins_test.go track signature files + add warn log (#38938) 2021-09-08 08:49:05 +02:00
plugins.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
preferences.go API: Add theme validation (#38432) 2021-08-24 08:41:15 +02:00
quota.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
render.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
roles.go AccessControl: add one-dimensional permissions to datasources (#38070) 2021-09-01 15:18:17 +02:00
search.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
short_url_test.go Chore: Refactor short url api test (#35051) 2021-06-01 20:34:59 +02:00
short_url.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
signup.go Login: Replace command dispatch by explicit call (#32088) 2021-03-18 17:16:56 +01:00
stars.go Profile: Fixes profile preferences being accessible when anonymous access was enabled (#31516) 2021-02-27 18:04:28 +01:00
team_members_test.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00
team_members.go Chore: Replace Command dispatches by explicit calls (#32131) 2021-03-19 09:14:14 +01:00
team_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
team.go Chore: Replace Command dispatches by explicit calls (#32131) 2021-03-19 09:14:14 +01:00
user_test.go Chore: Convert API tests to standard Go lib (#29009) 2020-11-13 09:52:38 +01:00
user_token_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
user_token.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
user.go Add filter to search users by active (#38637) 2021-08-31 11:35:16 +02:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00