Re: Delete Post Permission
Posted by
Harvey on
Sep 28, 2012; 7:15pm
URL: https://support.nabble.com/Delete-Post-Permission-tp7581461p7581466.html
Pedro,
I'd rather just have him able to "delete this post only" but it's not a big deal if that is complicated.
On Fri, Sep 28, 2012 at 1:35 PM, Pedro <Nabble> [via Nabble Support]
<[hidden email]> wrote:
Hi,
please, put your Moderator in a special group, for example, Moderators ( I guess he is already there ).
Search for the macro "can_delete" and edit it like this:
<override_macro name="can_delete" requires="user" dot_parameter="node_attr">
<n.either>
<condition1.both condition1="[n.not.is_banned/]" condition2="[n.owns.node_attr/]"/>
<condition2.is_in_group group="Grupo" />
</n.either>
</override_macro>
To delete the a single message he should use "Delete this post" or "Delete this post and replies" when he wants to delete the whole topic.
--
"Like" us on Facebook:
www.facebook.com/NYSkiBlogFollow us on Twitter:
http://twitter.com/nyskiblog
----------
Harvey Road:
NYSkiBlog.comNY Ski Forum:
forum.NYSkiBlog.comNY Ski Magazine:
mag.NYSkiBlog.com
HTTPS Please!