grafana/pkg/services
Matthew Jacobson 8418aca823
Alerting: Add single rule checks to alert rule access control (#88307)
* Alerting: Add single rule checks to alert rule access control

Modifies ruler api single rule read to no longer fetch entire groups and instead
 use the new single rule ac check.
Simplifies provisioning api getAlertRuleAuthorized logic to always load a single
 rule instead of conditionally loading the entire group when provisioning
 permissions are not present.

* Swap out Has/AuthorizeAccessToRule for Has/AuthorizeAccessInFolder
2024-05-28 10:49:24 -04:00
..
accesscontrol RBAC: Clean up action set code (#88147) 2024-05-23 12:14:01 +01:00
annotations Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
anonymous Anon: Add support to resolve anonymous identity (#87486) 2024-05-13 11:06:14 +02:00
apikey Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
apiserver Chore: Bump google.golang.org/grpc to 1.64.0 (#88219) 2024-05-27 12:44:39 +02:00
auth AuthN: Set uid during authentication (#87797) 2024-05-14 14:13:50 +02:00
authn OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00
cloudmigration Cloud migrations: return errutil.Error in http responses (#87448) 2024-05-13 00:22:46 -04:00
contexthandler Identity: Use typed version of namespace id (#87257) 2024-05-08 14:03:53 +02:00
correlations Correlations: improve error handling (#87810) 2024-05-20 10:35:47 +02:00
dashboardimport Chore: Fix error handling in postDashboard, remove UserDisplayDTO, fix live redis client initialization (#87206) 2024-05-06 14:17:34 -04:00
dashboards Dashboard: Make dashboard search faster (#88019) 2024-05-20 13:42:24 -04:00
dashboardsnapshots Snapshots: Prevent creation of snapshot of nonexistent dashboard (#86806) 2024-05-23 15:17:55 -04:00
dashboardversion Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
datasourceproxy Errors: Make errors the same in dev as prod (#77366) 2023-10-30 14:06:26 -04:00
datasources Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
encryption Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
extsvcauth Better tracing during extSvcAcc registration (#84719) 2024-03-21 16:41:10 +01:00
featuremgmt RestoreDashboards: Create trash section (#88278) 2024-05-28 10:26:06 +02:00
folder Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00
gcom CMS: Create local implementation of cloud migration for dev use (#86637) 2024-04-20 23:51:58 -04:00
grpcserver Chore: Use cache for all signed in user lookups (#88133) 2024-05-22 08:58:16 -04:00
guardian Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
hooks Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
libraryelements Chore: Remove use of deprecated method in AC code (#87541) 2024-05-10 11:56:52 +01:00
librarypanels Chore: Remove cfg from folder service (#87212) 2024-05-02 13:18:54 +02:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live AuthN: Set uid during authentication (#87797) 2024-05-14 14:13:50 +02:00
login User: Fix GetByID (#86282) 2024-04-16 15:24:34 +02:00
loginattempt Chore: Add login protection when user is trying different uppercase letters (#87588) 2024-05-10 13:49:59 +02:00
navtree RestoreDashboards: Create trash section (#88278) 2024-05-28 10:26:06 +02:00
ngalert Alerting: Add single rule checks to alert rule access control (#88307) 2024-05-28 10:49:24 -04:00
notifications Refactor: Email verification (#84393) 2024-03-14 13:25:28 +01:00
oauthtoken AuthN: Use typed namespace id inside authn package (#86048) 2024-04-24 09:57:34 +02:00
org OIDC: Support Generic OAuth org to role mappings (#87394) 2024-05-23 09:55:45 +02:00
playlist Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
plugindashboards Chore: removing folderId from plugindashboard service (#80570) 2024-01-16 11:08:39 +01:00
pluginsintegration Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
preference Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
provisioning Provisioning: Look up provisioned folders by UID when possible (#87465) 2024-05-07 15:38:53 -04:00
publicdashboards PublicDashboards: Remove publicDashboardUid from DashboardMeta (#85126) 2024-05-23 11:21:21 -03:00
query Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
queryhistory User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00
quota Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
rendering Rendering: add userID in rendering log (#88132) 2024-05-23 09:41:53 +02:00
screenshot Chore: Refactor render via http (#84613) 2024-05-14 07:24:18 -03:00
search Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00
searchusers Grafana: Replace magic number with a constant variable in response status (#80132) 2024-02-27 18:39:51 +02:00
searchV2 Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
secrets Refactor plugin context initialization (#88343) 2024-05-28 16:59:06 +03:00
serviceaccounts Fix: Prevent ExtSvcTokens from containing nil characters (#88243) 2024-05-28 10:39:46 +02:00
shorturls Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
signingkeys SigningKeys: Add added_at when creating new signing key (#85060) 2024-03-25 09:58:40 +01:00
sqlstore Dashboards: Add feature restore dashboards backend (#83131) 2024-05-16 14:36:26 -03:00
ssosettings SSO: Use removeSecrets() instead of setting.RedactedValue() (#88180) 2024-05-28 17:03:54 +03:00
star Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
stats User: Add tracing (#87028) 2024-04-30 13:15:56 +02:00
store Tracing: Various improvements (#88308) 2024-05-27 14:21:40 +02:00
supportbundles Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
tag Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
team Team: Add an endpoint for bulk team membership updates (#87441) 2024-05-17 13:41:41 +03:00
temp_user Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
updatechecker Chore: Making versioncheck url rely on config instead of being hardcoded (#85855) 2024-04-11 12:04:53 +02:00
user Chore: Use cache for all signed in user lookups (#88133) 2024-05-22 08:58:16 -04:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00