mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
Add edit, delete, and topics:delete permissions for users acting on their own posts
This commit is contained in:
@@ -292,6 +292,8 @@ module.exports = function(Topics) {
|
||||
|
||||
postData.favourited = false;
|
||||
postData.votes = 0;
|
||||
postData.display_edit_tools = true;
|
||||
postData.display_delete_tools = true;
|
||||
postData.display_moderator_tools = true;
|
||||
postData.display_move_tools = true;
|
||||
postData.selfPost = false;
|
||||
|
||||
Reference in New Issue
Block a user