MCPcopy
hub / github.com/NginxProxyManager/nginx-proxy-manager / Props

Interface Props

frontend/src/components/HasPermission.tsx:8–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { type ADMIN, hasPermission, type Permission, type Section } from "src/modules/Permissions";
7
8interface Props {
9 section?: Section | typeof ADMIN;
10 permission: Permission;
11 hideError?: boolean;
12 children?: ReactNode;
13 pageLoading?: boolean;
14 loadingNoLogo?: boolean;
15}
16function HasPermission({
17 section,
18 permission,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected