Re: Signatures Permission Group
Posted by
Pedro on
URL: https://support.nabble.com/Signatures-Permission-Group-tp7582239p7582254.html
Harvey44 wrote
Could I change that group so that if you are not in it, nothing displays?
You can edit your message_with_signature macro. Here we check first if the author of the message is in the group, then, check his signature. See line 3.
<override_macro name="message_with_signature" requires="node">
<n.node_message_as_html />
<n.if.owner.is_in_group group="signature" >
<then>
<n.if.both condition1="[n.owner.has_signature/]" condition2="[n.owner.is_active/]">
<then>
<div class="signature weak-color">
<n.owner.signature_as_html/>
</div>
</then>
</n.if.both>
</then>
</n.if.owner.is_in_group>
</override_macro>