fix: also patch userperm.get_sor_context reference
This commit is contained in:
parent
2c50d358ef
commit
8dcc84b1a3
@ -51,6 +51,10 @@ def init():
|
|||||||
load_appbase()
|
load_appbase()
|
||||||
load_rbac()
|
load_rbac()
|
||||||
|
|
||||||
|
# 修正用户权限模块中的缓存引用
|
||||||
|
import rbac.userperm as _up
|
||||||
|
_up.get_sor_context = _patched_sor_ctx
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
webapp(init)
|
webapp(init)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user