[fix] 临时移除权限管理
This commit is contained in:
parent
d506eeb0b4
commit
a62eba9395
@ -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) {
|
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 {
|
if t == db.TYPE_SELECT || t == db.TYPE_UPDATE || t == db.TYPE_DELETE {
|
||||||
this.WithRolesCondition(b, t, u)
|
// this.WithRolesCondition(b, t, u)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user