From a62eba939556124cf16099fd923b5e99345dc417 Mon Sep 17 00:00:00 2001 From: what Date: Sun, 30 Jul 2023 15:48:24 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=B8=B4=E6=97=B6=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9D=83=E9=99=90=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/resource.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/resource.go b/base/resource.go index dc38c31..69e0a0c 100644 --- a/base/resource.go +++ b/base/resource.go @@ -149,7 +149,7 @@ func (this Resource) GetAuthDBTable(u contracts.User, params ...any) *db.Builder // 数据权限过滤 builder.Before(func(b *db.Builder, t string, data ...map[string]any) { if t == db.TYPE_SELECT || t == db.TYPE_UPDATE || t == db.TYPE_DELETE { - this.WithRolesCondition(b, t, u) + // this.WithRolesCondition(b, t, u) } })