diff --git a/cetmix_tower_server/security/cx_tower_variable_security.xml b/cetmix_tower_server/security/cx_tower_variable_security.xml index 50a245bf..2d2de4d2 100644 --- a/cetmix_tower_server/security/cx_tower_variable_security.xml +++ b/cetmix_tower_server/security/cx_tower_variable_security.xml @@ -13,7 +13,7 @@ Tower Variable: Manager Access Rule - [('access_level', '<=', '2')] + [('access_level', 'in', ['1', '2'])] diff --git a/cetmix_tower_server/security/cx_tower_variable_value_security.xml b/cetmix_tower_server/security/cx_tower_variable_value_security.xml index f3afe7da..cec31c2b 100644 --- a/cetmix_tower_server/security/cx_tower_variable_value_security.xml +++ b/cetmix_tower_server/security/cx_tower_variable_value_security.xml @@ -19,7 +19,7 @@ ['|', ('is_global', '=', True), '&', - ('access_level', '<=', '2'), + ('access_level', 'in', ['1', '2']), ('server_id.message_partner_ids', 'in', [user.partner_id.id]) ]