简体   繁体   English

由于安全限制,请求的操作无法完成。 请联系您的系统管理员。 文件类型:用户

[英]The requested operation cannot be completed due to security restrictions. Please contact your system administrator. document type: users

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) (文档类型:用户,操作:读取)-(记录:[11,45, 109, 122, 155],用户:21)

I checked and all the permission settings work and there are individual bugs, not everyone has this problem.我检查了所有权限设置都有效,并且存在个别错误,并不是每个人都有这个问题。

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.似乎错误消息中的 model 具有不允许用户读取某些记录的访问规则,在您的情况下,model 应该是 res_users 或 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.我不确定 Odoo 11 中的确切路径,但在 Odoo 12 中,您应该激活开发人员模式并导航到设置 -> 技术 -> 安全 -> 记录规则并通过输入 model 名称搜索 Object。

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.检查出现的规则,通过一一停用,您可以找出导致问题的原因,并决定是否要停用它或更改规则定义。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Odoo警告-由于安全限制,无法完成请求的操作 - Odoo Warning - The requested operation cannot be completed due to security restrictions Python:如何解决“请求的URL被拒绝。请咨询您的管理员。” - Python : how to solve "The requested URL was rejected. Please consult with your administrator." '发生服务器错误。 请与管理员联系。 在Django 1.8.11 - 'A server error occurred. Please contact the administrator.' at django 1.8.11 “ ImportError:无法导入名称commit_on_success”和“发生服务器错误。 运行Django服务器时,请与管理员联系。” - “ImportError: cannot import name commit_on_success” and “A server error occurred. Please contact the administrator.” when running Django server 金字塔:网址中的西里尔字母显示“发生了服务器错误。 请联系管理员。“在调试模式下 - Pyramid: cyrillic letters in url shows “A server error occurred. Please contact the administrator.” in debug mode Django 在尝试访问本地服务器 (127.0.0.1:800) 时显示错误(发生服务器错误。请联系管理员。) - Django showing error (A server error occurred. Please contact the administrator.) when trying to access the local server (127.0.0.1:800) 完整性错误。 由于以下原因,无法完成该操作: - Integrity error. The operation cannot be completed, probably due to the following: 发生服务器错误。 请联系管理员 - A server error occurred. Please contact the administrator 发生服务器错误。 请联系管理员 - A server error occurred. Please contact the administrator 科登维。 “系统资源不足。请联系您的系统管理员。” - Codenvy. "The system is out of resources. Please contact your system admin."
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM