mirror of
https://github.com/langgenius/dify.git
synced 2026-02-25 20:26:31 +08:00
The transformation from classic dataset to knowledge pipeline represents an irreversible write operation that permanently alters the dataset structure. To prevent unauthorized modifications, this change implements strict privilege validation in `RagPipelineTransformApi`. Only users with editor privileges or dataset operator roles are authorized to execute this transformation, ensuring proper access control for this critical operation.