Hello,
I created a module 'module_name', i wanna hide a template_name if the current user i don't give it the grant access as 'User' or as 'Manager'.
I think it's:
<xpath expr="//div[@name="group_name" position="after"
attrs="{'invisible': [
('the_current_user_but_no_created_uid','is','A manager'),
('the_current_user_but_no_created_uid','is','As Simple User')
]}">
<span>Thanks for all !</span>
</xpath>
Helps.