Commit e1a1da90 by Torkel Ödegaard

fix: add folder permission fix

parent d35eca33
......@@ -157,8 +157,8 @@ export function addFolderPermission(newItem: NewDashboardAclItem): ThunkResult<v
itemsToUpdate.push({
userId: newItem.userId,
teamId: newItem.teamId,
role: item.role,
permission: item.permission,
role: newItem.role,
permission: newItem.permission,
});
await getBackendSrv().post(`/api/folders/${folder.uid}/permissions`, { items: itemsToUpdate });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment