콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2845 화면

In the employee's app I found out that there are 2 models hr.employee and hr.employee.public, but what is the difference between them? Why do both models exist?

아바타
취소
작성자 베스트 답변

Hello! 

Due to the highly sensitive nature of employee information, which includes private data as well as delicate administrative details, not all users can access this information. Only specific users such as 'Employees/Officer' and 'Employees/Administrator' have permission to view it.

  Due to this, there are two models: hr.employee and hr.employee.public. But what is the difference?

The difference between the hr.employee and hr.employee.public models lies in the level of access and visibility they provide for employee information.

  1. hr.employee:
    • This model contains comprehensive and detailed information about employees, including sensitive private and administrative data.
    • Users with roles such as "Officer" and "Administrator" can access and view all information stored in this model.
    • It has access restrictions for users who do not have the appropriate permissions, thus safeguarding the confidentiality of employee data.
    • studio customizations are possible
    • Has a chatter
  2. hr.employee.public:
    • This model contains limited and non-sensitive information about employees.
    • It is designed to be accessible by a wider range of users, including those without administrative or supervisory roles.
    • Typically, it only contains basic and non-confidential details such as employee name, job title, and contact information.
    • It can be used for general reference purposes or to allow certain users to access basic employee information without exposing sensitive data.
    • studio customizations are not allowed
    • Has not a chatter

In summary, hr.employee is used to store detailed and sensitive information about employees, while hr.employee.public is used to provide limited access to non-sensitive and basic employee details for users who do not require confidential information.

Now what happens if I make a customization in the model hr.employee? Will this customization be visible in the model hr.employee.public? the answer is no, we will talk about how to do it in further forum posts! 

Stay tuned!


아바타
취소
관련 게시물 답글 화면 활동
1
5월 24
1604
2
4월 24
1298
1
4월 24
1465
1
3월 24
2431
1
8월 25
4146