Commit Graph

45 Commits (00381711a48eab296f7970abd768cbbe71bbdcda)

Author SHA1 Message Date
Alexander Zobnin 87d86e81ce
Zanzana: Evaluate permissions alongside with RBAC engine (#90064) 1 year ago
William Wernert 006d0021e3
Alerting: Remove requirement for datasource query on rule read (#87349) 2 years ago
Ieva 167151b211
Chore: Remove use of deprecated method in AC code (#87541) 2 years ago
Fayzal Ghantiwala df25e9197e
Alerting: Get grafana-managed alert rule by UID (#86845) 2 years ago
Yuri Tseretyan 052082a927
Alerting: Refactor Alert Rule Generators (#86813) 2 years ago
Dave Henderson 5687243d0b
Feature Flags: use FeatureToggles interface where possible (#85131) 2 years ago
Yuri Tseretyan e593d36ed8
Alerting: Update rule access control to explicitly check for permissions "alert.rules:read" and "folders:read" (#78289) 2 years ago
William Wernert b7bbc5058f
Alerting: Don't validate rules on group update if they've only been reordered (#81841) 2 years ago
Yuri Tseretyan 1eebd2a4de
Alerting: Support for simplified notification settings in rule API (#81011) 2 years ago
Yuri Tseretyan 47546a4c72
Alerting: Update API to use folders' full paths (#81214) 2 years ago
William Wernert 2203bc2a3d
Alerting: Refactor provisioning tests/fakes (#81205) 2 years ago
Sofia Papagiannaki d1dab5828d
Alerting: Update rule API to address folders by UID (#74600) 2 years ago
Yuri Tseretyan 2be7605794
Alerting: Fix fine-grained rule access control to use 403 for authorization error (#79239) 2 years ago
Yuri Tseretyan 7cec741bae
Alerting: Extract alerting rules authorization logic to a service (#77006) 2 years ago
Yuri Tseretyan 027bd9356f
Alerting: Rule Modify Export APIs (#75322) 2 years ago
Ryan McKinley 025b2f3011
Chore: use any rather than interface{} (#74066) 2 years ago
Yuri Tseretyan b963defa44
Alerting: update rules POST API to validate query and condition only for rules that changed. (#68667) 3 years ago
Ieva d98813796c
RBAC: Remove legacy AC from HasAccess permission check (#68995) 3 years ago
Yuri Tseretyan 85a954cd81
Alerting: Update scheduler to get updates only from database (#64635) 3 years ago
Yuri Tseretyan f561e71de8
Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 3 years ago
idafurjes 6c5a573772
Chore: Move ReqContext to contexthandler service (#62102) 3 years ago
idafurjes 080ea88af7
Nested Folders: Support getting of nested folder in folder service wh… (#58597) 3 years ago
Alexander Weaver c16317e5b8
Alerting: Move fake rule store to the test utilities package (#56062) 3 years ago
Yuriy Tseretyan 2d38664fe6
Alerting: Improve validation of query and expressions on rule submit (#53258) 3 years ago
Yuriy Tseretyan 41bd36eb97
Alerting: Update rules delete endpoint to handle rules in group (#53790) 3 years ago
idafurjes a14621fff6
Chore: Add user service method SetUsingOrg and GetSignedInUserWithCacheCtx (#53343) 3 years ago
idafurjes 6afad51761
Move SignedInUser to user service and RoleType and Roles to org (#53445) 3 years ago
Alexander Weaver c50cbea0bb
Alerting: Extract alert rule diff logic into separate file with exported API (#53083) 3 years ago
Alexander Weaver 0d9389e1f4
Alerting: Code-gen parsing of URL parameters and fix related bugs (#50731) 4 years ago
Yuriy Tseretyan 4d02f73e5f
Alerting: Persist rule position in the group (#50051) 4 years ago
Yuriy Tseretyan 81089b956a
Alerting: Update authorization rules for RouteGetNamespaceRulesConfig (#50965) 4 years ago
Yuriy Tseretyan c1550d1f07
Alerting: Rule api to fail update if provisioned rules are affected (#50835) 4 years ago
Karl Persson 44ffbfd6aa
RBAC: Refactor GetUserPermissions to use []accesscontrol.Permission (#50683) 4 years ago
Yuriy Tseretyan ad25e2a20c
Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs (#49033) 4 years ago
Yuriy Tseretyan f7f2253072
Alerting: Fix anonymous access to alerting (#49203) 4 years ago
Yuriy Tseretyan 952cb4fc0b
Alerting: introduce AlertRuleGroupKey and use it in API handlers (#48945) 4 years ago
Jean-Philippe Quéméner 30d9cc81ec
Alerting: check provenance of alert rules in current API (#48694) 4 years ago
Jean-Philippe Quéméner 9e21e4d1c1
Alerting: indicate whether an alertrule is provisioned (#48458) 4 years ago
George Robinson c5547123bc
Remove redundant queries in GetAlertRules and GetOrgAlertRules and replace with ListAlertRules (#48108) 4 years ago
Yuriy Tseretyan af9353caec
Alerting: Add check for datasource permission in alert rule read API (#47087) 4 years ago
Yuriy Tseretyan c1dbe7617c
fix scope for datasource:query action (#46973) 4 years ago
Yuriy Tseretyan e20d157a9b
Alerting: rules delete API to check data source authorization (#46906) 4 years ago
Yuriy Tseretyan 4ee48c2e77
Alerting: Update GetRuleGroupAlertRules to accept optional rule group (#46889) 4 years ago
Yuriy Tseretyan 288e8eeb15
Alerting: Do not update rule in database if it was not changed (#45980) 4 years ago
Yuriy Tseretyan f75bea481d
Alerting: validate rules and calculate changes in API controller (#45072) 4 years ago