I want to hide connection tab from lead doctype for those users who have ‘channel partner’ role i have use this in connection tab depends on
eval:!frappe.user.has_role(“Test Role”)
it will work for those who have channel partner role but noe connection tab also hide from Administrator user but i don’t want to hide from Administrator user
and Administrator user doesn;t have ‘channel partner’ role