30 Commits

Author SHA1 Message Date
fcaa8227a6 Dashboard acl query fixes (#10909)
* initial fixes for dashboard permission acl list query, fixes #10864

* permissions: refactoring of acl api and query
2018-02-14 15:04:26 +01:00
b549d29319 Merge branch 'master' into provisioning 2018-02-08 11:01:09 +01:00
ef90b3e49c Merge branch '7883_new_url_structure' into 7883_frontend_step2 2018-02-01 11:08:39 +01:00
b135df9a6c Merge remote-tracking branch 'upstream/master' into 7883_new_url_structure 2018-02-01 10:48:06 +01:00
b23560ed5a dashboards: add validation to delete dashboard by slug
Validates that there are only one folder/dashboard having that slug,
otherwise returns 412 Precondition Failed
2018-01-31 18:40:54 +01:00
95d063621e dashboards: new route for deleting dashboards by uid 2018-01-31 18:40:54 +01:00
369597f7b2 dashboards: return url in response to save dashboard. #7883 2018-01-31 00:09:14 +01:00
fd59241e35 dashboards: revert adding api for retrieving uid by slug
Since we're already have possibility to get a dashboard by slug
it makes little sense to have a separate endpoint in api for
retrieving uid by slug.
#7883
2018-01-30 23:18:34 +01:00
7ee691dc48 dashboards: api for retrieving uid by slug. #7883 2018-01-30 23:18:34 +01:00
13d5db7d19 dashboards: add support for retrieving a dashboard by uid
Introduces new url in api /dashboards/<uid> for fetching dashboard by unique id
Leave the old dashboard by slug url /dashboards/db/<slug> for backward
compatibility and for supporting fallback
WIP for #7883
2018-01-30 23:18:34 +01:00
46e1296700 dashboards: return uid in response to creating/updating a dashboard. #7883 2018-01-30 23:18:34 +01:00
87d6d791d5 dashfolders: adds comment for dashboard api tests 2018-01-30 14:09:30 +01:00
a00a42d9ee api: extract api test code to common_test.go 2018-01-30 13:17:48 +01:00
67a9e6a71d provisioing: add lookup table provisioned dashboards 2018-01-23 21:52:55 +01:00
a8a5f8181b fix: viewers can edit now works correctly 2017-12-15 14:19:49 +01:00
f1b1dbc6dd dashboard: fix test after merge conflict 2017-12-14 09:34:00 +01:00
05cc1f85c3 Merge branch 'refactor-user-group-to-team' of https://github.com/alexanderzobnin/grafana into user-group-to-team 2017-12-12 17:07:00 +01:00
89db9cc976 fix: fixed dashboard api tests 2017-12-12 16:15:24 +01:00
d8612380e9 refactor: rename User Groups to Teams 2017-12-08 18:25:45 +03:00
fc69d59cae dashboard folder search fix 2017-06-23 16:00:26 -04:00
6d86afd472 dashfolders: use canadmin permission in settings menu 2017-06-23 00:36:17 +02:00
aa634402d9 dashboard acl fixes 2017-06-22 17:43:55 -04:00
9c6c8c0f3f acl fixes 2017-06-22 17:10:43 -04:00
fcc8557dbb dashboard acl work 2017-06-21 14:11:16 -04:00
74840178cf refactoring dashboard folder security checks 2017-06-19 15:22:42 -04:00
cbbbccf12a refactoring dashoard folder guardian 2017-06-17 18:24:38 -04:00
dd02bf7c9b WIP: adds API check to stop folders being included in folders 2017-06-16 02:45:47 +02:00
92717ccafb WIP: permission checking for dash version api methods 2017-06-14 00:28:34 +02:00
a861b1b9ba WIP: check permissions for delete/post dashboard 2017-06-12 23:05:32 +02:00
3913f16550 WIP: add permission check for GetDashboard 2017-06-12 16:48:51 +02:00