[fix] 临时移除权限管理

This commit is contained in:
what 2023-07-30 15:48:24 +08:00
parent d506eeb0b4
commit a62eba9395

View File

@ -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)
}
})