由于安全限制,请求的操作无法完成。请联系您的系统管理员。文档类型:用户
由于某种原因,当导师尝试编辑自己的招聘项目时,我收到以下错误:
由于安全限制,无法执行请求的操作。请联系您的系统管理员。
(文档类型:用户,操作:读取)-(记录:[11,45,109,122,155],用户:21)
我检查过,所有权限设置都有效,并且存在个别错误,并不是每个人都有这个问题。
For some reason, I get the following error when a mentor tries to edit their own recruitment projects:
The requested operation cannot be performed due to security restrictions. Please contact your system administrator.
(Document type: users, action: read) - (Records: [11 ,45, 109, 122, 155], User: 21)
I checked and all the permission settings work and there are individual bugs, not everyone has this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
错误消息中的模型似乎有一个访问规则,不允许用户读取某些记录,在您的情况下,模型应该是 res_users 或 res_partner。
我不确定 Odoo 11 中的确切路径,但在 Odoo 12 中您应该激活开发人员模式并导航到“设置”->“设置”。技术->安全->记录规则并通过键入型号名称搜索对象。
检查出现的规则,通过一项一项地停用,您可以找出导致问题的规则,并决定是否要停用它或更改规则定义。
It seems like the model in the error message has an access rule that doesn't allow the user to read certain records, in your case the model should be res_users or res_partner.
I am not sure about the exact path in Odoo 11 but in Odoo 12 you should activate the developer mode and navigate to Settings -> Technical -> Security -> Record Rules and search Object by typing the model name.
Check the rules that appear, by deactivating one by one you can find out which one is causing the issue and decide if you want to deactivate it or change the rule definition.