Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
12278 Vizualizări
  • Employees should only view tasks related to their assigned projects.
  • They should not be able to create, edit, or delete projects.
  • Employees must be able to edit their assigned tasks but should not be allowed to create or delete tasks.
Imagine profil
Abandonează
Cel mai bun răspuns

You have to update your record rules like this:

1️⃣ Rule: Employees can only view tasks related to their assigned projects: 
Model -  project.task
Domain - ['|', ('project_id.user_id', '=',
user.id), ('project_id.privacy_visibility', '!=', 'employees')]
Permission - Read



2️⃣Rule: Employees should not be able to create, edit, or delete projects:
Model - project.project
Domain - []
Permission - Read


3️⃣ Rule: Employees can edit their assigned tasks but cannot create or delete tasks:
Model - project.task
Domain - [('user_id', '=',
user.id)]
Permission - Read, Write

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
mai 25
2541
2
mai 25
5923
1
mar. 25
1702
4
mar. 25
4530
3
feb. 25
5531