2.1.72版新建删除对象显示not find user permission

2.1.66版可正常新建删除对象

可能是发布2.1.72版本时部分代码没有合并进去, 升级版本试下。

我们在2.1.73并没有遇到这个问题,请详细题主详细描述下重现过程或者升级到最新版本试下。

docker-compose.yml里的版本改成2.1.73,运行后显示下面的错误

steedos_1             | yarn run v1.22.15
steedos_1             | $ yarn flushCacherDB && moleculer-runner services
steedos_1             | $ node .scripts/flush_cacher_db.js
steedos_1             | internal/modules/cjs/loader.js:818
steedos_1             |   throw err;
steedos_1             |   ^
steedos_1             | 
steedos_1             | Error: Cannot find module '/app/.scripts/flush_cacher_db.js'
steedos_1             |     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
steedos_1             |     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
steedos_1             |     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
steedos_1             |     at internal/main/run_main_module.js:17:47 {
steedos_1             |   code: 'MODULE_NOT_FOUND',
steedos_1             |   requireStack: []
steedos_1             | }
steedos_1             | error Command failed with exit code 1.
steedos_1             | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
steedos_1             | error Command failed with exit code 1.
steedos_1             | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
cube_steedos_1 exited with code 1

试下升级到最新版本看看

这个脚本是最近加上去的,你需要重新抓取镜像,或者在我们模板项目源码中把该文件复制到您的项目中:.scripts · master · steedos / steedos-project-template · GitLab