首页 > 数据库技术 > 详细

Access denied with payslip工资条非同部门员工不能创建bug

时间:2014-03-20 04:28:30      阅读:590      评论:0      收藏:0      [点我收藏+]

Access Denied

The requested operation cannot be completed due to security restrictions. Please contact your system administrator.

(Document type: Pay Slip, Operation: read)

 

This is because on settings->groups-> HR officer has a following record rule: Employee Payslip [‘|‘, (‘employee_id.user_id‘, ‘=‘, user.id), (‘employee_id.department_id.manager_id.user_id‘, ‘=‘, user.id)] (this means that only employee whose payslip it is can edit or create it or the manager of the department where employee belongs to can edit it. Note: you have to define Manager of department from HR->configuration->Departments->select department->select manager) and because also Manager inherits from officer same rule restricts both user groups Manager and Officer.

If you don‘t want this restriction you can deactivate this record rule from Settings->Security->Record rules

Access denied with payslip工资条非同部门员工不能创建bug,布布扣,bubuko.com

Access denied with payslip工资条非同部门员工不能创建bug

原文:http://www.cnblogs.com/chjbbs/p/3612286.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!