Documentation
Hooks
useOPSignOperator HasPermissions

useCharacterOperatorHasPermissions

Hook for indicating whether the Operator Sign has enough permissions to manage the character. If you are checking whether if Operator Sign is enabled, use useIsOpSignEnabled instead.

function useCharacterOperatorHasPermissions(options?: {
	characterId: number;
}): boolean;

Usage

import { useCharacterOperatorHasPermissions } from "@crossbell/connect-kit";
 
function App() {
	const hasPermissions = useCharacterOperatorHasPermissions();
 
	return <p>hasPermissions: {`${hasPermissions}`}</p>;
}