grafana/pkg/services/sqlstore
Jo 0de66a8099
Authz: Remove use of SignedInUser copy for permission evaluation (#78448)
* remove use of SignedInUserCopies

* add extra safety to not cross assign permissions

unwind circular dependency

dashboardacl->dashboardaccess

fix missing import

* correctly set teams for permissions

* fix missing inits

* nit: check err

* exit early for api keys
2023-11-22 14:20:22 +01:00
..
migrations Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
migrator Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
permissions Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
searchstore Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
session Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
bulk.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
database_wrapper.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
logger.go Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
session_test.go SQLStore: Fix SQLite error propagation if query retries are disabled (#64904) 2023-03-17 12:57:13 +02:00
session.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go FeatureToggles: Add context and and an explicit global check (#78081) 2023-11-14 12:50:27 -08:00
sqlstore.go Chore: Remvoe newDBLibrary feature flag (#78074) 2023-11-14 06:51:35 -08:00
tls_mysql.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
transactions_test.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
transactions.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
user_test.go Bug(sqlstore): fix issue with postgres unable to find existing main organization (#73789) 2023-08-30 11:45:20 -04:00
user.go Bug(sqlstore): fix issue with postgres unable to find existing main organization (#73789) 2023-08-30 11:45:20 -04:00