grafana/docs/sources/http_api
Ieva ef4c2672b3
Access control: SQL filtering for annotation listing (#47467)
* pass in user to attribute scope resolver

* add SQL filter to annotation listing

* check annotation FGAC permissions before exposing them for commenting

* remove the requirement to be able to list all annotations from annotation listing endpoint

* adding tests for annotation listing

* remove changes that got moved to a different PR

* unused var

* Update pkg/services/sqlstore/annotation.go

Co-authored-by: Ezequiel Victorero <evictorero@gmail.com>

* remove unneeded check

* remove unneeded check

* undo accidental change

* undo accidental change

* doc update

* move tests

* redo the approach for passing the user in for scope resolution

* accidental change

* cleanup

* error handling

Co-authored-by: Ezequiel Victorero <evictorero@gmail.com>
2022-04-11 13:18:38 +01:00
..
_index.md Remove service accounts from public documentation as it's not being released yet (#44658) 2022-01-31 16:37:51 +01:00
access_control.md Access control: allow hiding roles (#46358) 2022-03-15 13:17:45 +00:00
admin.md Access Control: Rename global users scope (#46794) 2022-03-22 12:48:46 +01:00
alerting_notification_channels.md Update alert doc structure (#34659) 2021-05-25 10:51:28 -04:00
alerting.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
annotations.md Access control: SQL filtering for annotation listing (#47467) 2022-04-11 13:18:38 +01:00
auth.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
create-api-tokens-for-org.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
curl-examples.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
dashboard_permissions.md Docs: Replace next with latest in aliases (#33054) 2021-04-15 23:08:58 +02:00
dashboard_versions.md Update dashboard_versions.md (#45871) 2022-02-24 16:15:58 -05:00
dashboard.md Doc: Fix escalation issue 903 (#40034) 2021-10-06 01:46:29 +02:00
data_source.md Plugins: Add deprecation notice for /api/tsdb/query endpoint (#45238) 2022-03-30 17:46:06 +02:00
datasource_permissions.md Update docs for ds permissions access control permisisons (#43346) 2022-01-11 14:52:33 +01:00
external_group_sync.md Documentation for teams with FGAC (#45321) 2022-02-11 18:00:13 +01:00
folder_dashboard_search.md add default number of returned dashboards (#45755) 2022-02-23 04:28:39 -08:00
folder_permissions.md Docs: Replace next with latest in aliases (#33054) 2021-04-15 23:08:58 +02:00
folder.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
library_element.md Update docs library element http api (#44493) 2022-02-03 08:46:03 +01:00
licensing.md AccessControl: document FGAC licensing permissions (#39192) 2021-10-05 18:35:01 +02:00
org.md AccessControl: Document orgs roles and orgs endpoints (#42171) 2021-11-24 10:08:55 +01:00
other.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
playlist.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
preferences.md Navigation: Introduce a preferences table to store Navbar preferences (#44914) 2022-03-17 12:07:20 +00:00
query_history.md Query history: Add search functionality (#45932) 2022-03-07 12:28:04 +01:00
reporting.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
short_url.md Short URL: Fix so that orgId is included in generated short URL (#34696) 2021-06-01 14:19:10 +02:00
snapshot.md doc: snapshots: fix JSON response (#44758) 2022-02-02 14:03:14 +01:00
team.md Team access changes for editors when editorsCanAdmin is enabled (#45405) 2022-02-15 17:09:03 +00:00
user.md Access Control: Rename global users scope (#46794) 2022-03-22 12:48:46 +01:00