Files
imphnen-frontend-service/libs/utils/src/session/guard/index.tsx
T

12 lines
293 B
TypeScript
Raw Normal View History

import { FC, PropsWithChildren, ReactNode } from 'react';
2025-05-23 00:28:29 +07:00
type TProps = PropsWithChildren<{
permissions?: Array<string>;
2025-05-23 00:28:29 +07:00
fallback?: ReactNode;
}>;
export const Guard: FC<TProps> = (props): ReactNode => {
// Permission checking removed - always allow access
return props.children;
2025-05-23 00:28:29 +07:00
};