Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Delete and move posts as author/not-admin


Reply

2 Posts   720 Views

Avatar
suntrop

11 April 2012 at 8:57pm Community Member, 131 Posts

Hope someone can help with these two issues …

1. What exactly is <% if DeleteLink %>? Where do I turn this on or off? What does make it appear and fro what user groups?
There is an author who sees this link but cannot actually delete the post.

2. How can I display the admin features (like move topic to other forum, markt it as an announcement …) to other groups, like my forum moderator?

Avatar
Willr

13 April 2012 at 7:23pm Forum Moderator, 5511 Posts

Are you running the latest master version of forum?

DeleteLink relates to (https://github.com/silverstripe/silverstripe-forum/blob/master/code/Post.php#L192) and checks that the user has permission to delete it. Make sure you're not caching things you shouldn't if people see it and don't actually have access to delete the post.

The admin forum features are shown if you have moderate rights (https://github.com/silverstripe/silverstripe-forum/blob/master/code/Forum.php#L1135) so will show to them.