Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

refactor: drop the ee suffix from the edition-neutral permission fixture (#21664)

Zhichang Yu68778f891033
diff --git a/internal/permission/testsupport/fixture_ee.go b/internal/permission/testsupport/fixture.go
similarity index 80%
rename from internal/permission/testsupport/fixture_ee.go
rename to internal/permission/testsupport/fixture.go
index db41cd5e5a..ca2093a5ed 100644
--- a/internal/permission/testsupport/fixture_ee.go
+++ b/internal/permission/testsupport/fixture.go
@@ -16,9 +16,8 @@ package testsupport
import "gorm.io/gorm"
-// PrepareEnterprisePermissionFixture is a no-op in the community edition.
-// Enterprise tests replace this hook with fixture setup for permission roles
-// and tenant membership.
+// PrepareEnterprisePermissionFixture is a no-op: the fixtures used by
+// permission-aware tests need no role or tenant-membership rows.
func PrepareEnterprisePermissionFixture(_ *gorm.DB, _ string, _ ...string) error {
return nil
}