Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

343 B
Raw Blame
import { auth } from "@homarr/auth/next";
import type { BoardPermissionsProps } from "@homarr/auth/shared";
import { constructBoardPermissions } from "@homarr/auth/shared";

export const getBoardPermissionsAsync = async (board: BoardPermissionsProps) => {
  const session = await auth();
  return constructBoardPermissions(board, session);
};