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

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

    return {
        canRetry: can(PERMISSIONS.roomTurnoverRewardRetry),
        canUpdate: can(PERMISSIONS.roomTurnoverRewardUpdate),
        canView: can(PERMISSIONS.roomTurnoverRewardView),
    };
}
