Hi,
I am trying to restrict access to a model using record rules. The rule that I wrote is applied, but only gives read access to my model. Here are the relevant code parts:
In ir.model.access.csv :
access_project_requirement_user,project.requirement.user,model_project_requirement,project.group_project_user,1,0,0,0
Record rule:
Edit if allowed only
[('project_id.allowed_users_for_req','in',user.ids)]
Am I missing something ?
It's because in your access right, you mentioned 1,0,0,0
which means True for READ and False for Other operation.
try 1,1,1,1 which will give all rights ( CRUD )