grafana/pkg/services/sqlstore
Jo d6c468c1c2
Auth: Add empty role definition (#64694)
* Allow setting role as None

Co-authored-by: gamab <gabi.mabs@gmail.com>

Seeking for places where role.None would be used

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

Adding None role to the frontend

Co-authored-by: Jguer <joao.guerreiro@grafana.com>

unify org role declaration and remove from add permission

fix backend test

fix backend lint

* remove role none from frontend

* Simplify checks

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* nits

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2023-07-06 15:40:06 +02:00
..
migrations Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
migrator SQLStore: Fix Postgres dialect treating "false" migrator default as true (#69353) 2023-06-22 15:09:36 -04:00
permissions Search v1: Add support for inherited folder permissions if nested folders are enabled (#63275) 2023-04-06 11:16:15 +03:00
searchstore Search v1: Add support for inherited folder permissions if nested folders are enabled (#63275) 2023-04-06 11:16:15 +03:00
session SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
bulk.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
database_wrapper.go Traces: Fix timestamp for database query traces (#61109) 2023-01-09 09:40:55 -05:00
logger.go Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00: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 SQLStore: Fix SQLite error propagation if query retries are disabled (#64904) 2023-03-17 12:57:13 +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 SQLStore: Align SQLite IsUniqueConstraintViolation() with other backend implementations (#69224) 2023-05-29 14:45:08 +00:00
sqlstore.go Database: Make dialects independent of xorm Engine (#69955) 2023-06-14 16:13:36 -04: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.go Chore: Ignore unique constrain failure when creating the main organization (#68644) 2023-05-18 11:26:29 +03:00