RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
import { IFlow } from '@/interfaces/database/agent';
/**
* Enterprise seam for the agent permission dialog. Open source has no
* collaborator permissions, so the modal stays closed and the record is empty.
*/
export function useShowPrivilegeDialog() {
return {
privilegeModalVisible: false,
hidePrivilegeModal: () => {},
handShowPrivilegeModal: (_item: IFlow) => () => {},
recordWithSourceType: {},
};
}
export type ShowPrivilegeDialogReturnType = ReturnType<
typeof useShowPrivilegeDialog
>;