mirror of
https://github.com/grafana/grafana.git
synced 2024-11-30 04:34:23 -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