Priyanka_Mallu wrote
Please disable "delete posts" option for authors.
Please, edit your can_delete macro like this:
<override_macro name="can_delete" requires="user" dot_parameter="node_attr">
<n.is_site_admin/>
</override_macro>
Priyanka_Mallu wrote
Also disable "delete account " option for authors.
Do you mean
Remove Account? If so, you can edit profile_options macro removing this part of the code:
<n.profile_option>
<link><a href="[n.visitor.remove_account_path/]"><t>Remove Your Account</t></a></link>
<hint><t>Remove your account and all your posts from <t.subject><n.root_node.subject/></t.subject>.</t></hint>
</n.profile_option>