import { PERMISSIONS } from "@/app/permissions";
import { useAuth } from "@/app/auth/AuthProvider.jsx";

export function useLevelConfigAbilities() {
    const { can } = useAuth();

    return {
        canUpdate: can(PERMISSIONS.levelConfigUpdate),
        canView: can(PERMISSIONS.levelConfigView),
    };
}
