dashpresshq/dashpress

View on GitHub
src/frontend/views/roles/Permissions/Portal/main.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { msg } from "@lingui/macro";

import { BaseMutateEntitiesPermissions } from "./fallback";

export const usePortalExtendedPermissions = () => {
  return [
    {
      label: msg`Entities`,
      id: `entities`,
      content: <BaseMutateEntitiesPermissions />,
    },
  ];
};

export const usePortalUserPermissions = () => {
  return [];
};