dashfolders: link to folder for inherited permissions

In the permissions view in dashboard settings, this adds a
link to the parent folder for inherited permissions. Which
allows the user to easily navigate to the folder and change
inherited permissions.
This commit is contained in:
Daniel Lee
2018-01-29 16:08:48 +01:00
parent 7900fd4a79
commit d74a98feff
10 changed files with 45 additions and 12 deletions

View File

@ -99,6 +99,7 @@ func GetDashboard(c *middleware.Context) Response {
return ApiError(500, "Dashboard folder could not be read", err)
}
meta.FolderTitle = query.Result.Title
meta.FolderSlug = query.Result.Slug
}
// make sure db version is in sync with json model version