From 9ce4f9327540b85344c3f5f217aaa8408442d800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Sun, 25 Feb 2024 10:49:44 +0100 Subject: [PATCH] fastapi_auth_partner: manager should be allowed to read directory auth --- fastapi_auth_partner/security/ir.model.access.csv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fastapi_auth_partner/security/ir.model.access.csv b/fastapi_auth_partner/security/ir.model.access.csv index 54c52524..eeadf5f6 100644 --- a/fastapi_auth_partner/security/ir.model.access.csv +++ b/fastapi_auth_partner/security/ir.model.access.csv @@ -1,5 +1,6 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_fastapi_auth_directory,fastapi_auth_directory_manager,model_fastapi_auth_directory,base.group_system,1,1,1,1 +access_fastapi_auth_directory,fastapi_auth_directory_system,model_fastapi_auth_directory,base.group_system,1,1,1,1 +access_fastapi_auth_directory_read,fastapi_auth_directory_manager,model_fastapi_auth_directory,group_partner_auth_manager,1,0,0,0 access_fastapi_auth_partner,fastapi_auth_partner_manager,model_fastapi_auth_partner,group_partner_auth_manager,1,1,1,1 api_access_fastapi_auth_partner,fastapi_auth_partner_api,model_fastapi_auth_partner,group_partner_auth_api,1,1,0,0 api_access_fastapi_res_partner,fastapi_res_partner_api,base.model_res_partner,group_partner_auth_api,1,0,0,0