mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
NestedFolders: Fetch access control metadata for folder view (#67786)
This commit is contained in:
parent
fd28c8490f
commit
338e98e237
@ -36,7 +36,7 @@ export const browseDashboardsAPI = createApi({
|
|||||||
baseQuery: createBackendSrvBaseQuery({ baseURL: '/api' }),
|
baseQuery: createBackendSrvBaseQuery({ baseURL: '/api' }),
|
||||||
endpoints: (builder) => ({
|
endpoints: (builder) => ({
|
||||||
getFolder: builder.query<FolderDTO, string>({
|
getFolder: builder.query<FolderDTO, string>({
|
||||||
query: (folderUID) => ({ url: `/folders/${folderUID}` }),
|
query: (folderUID) => ({ url: `/folders/${folderUID}`, params: { accesscontrol: true } }),
|
||||||
}),
|
}),
|
||||||
getAffectedItems: builder.query<DescendantCount, DashboardTreeSelection>({
|
getAffectedItems: builder.query<DescendantCount, DashboardTreeSelection>({
|
||||||
queryFn: async (selectedItems) => {
|
queryFn: async (selectedItems) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user