fixes for post privileges

This commit is contained in:
Baris Soner Usakli
2014-01-19 17:28:08 -05:00
parent 1980e945da
commit 189e69284e
6 changed files with 44 additions and 14 deletions

View File

@@ -58,7 +58,8 @@ var winston = require('winston'),
callback(null, {
read: results.topicPrivs.read,
editable: results.topicPrivs.editable || results.isOwner || results.hasEnoughRep,
view_deleted: results.topicPrivs.view_deleted || results.isOwner || results.hasEnoughRep
view_deleted: results.topicPrivs.view_deleted || results.isOwner || results.hasEnoughRep,
move: results.topicPrivs.admin || results.topicPrivs.moderator
});
});
}