diff options
Diffstat (limited to 'client/js/controllers/post_controller.js')
| -rw-r--r-- | client/js/controllers/post_controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/js/controllers/post_controller.js b/client/js/controllers/post_controller.js index c1228b6..ec84744 100644 --- a/client/js/controllers/post_controller.js +++ b/client/js/controllers/post_controller.js @@ -48,6 +48,8 @@ class PostController { nextPostId: aroundResponse.next ? aroundResponse.next.id : null, prevPostId: aroundResponse.prev ? aroundResponse.prev.id : null, canEditPosts: api.hasPrivilege('posts:edit'), + canDeletePosts: api.hasPrivilege('posts:delete'), + canFeaturePosts: api.hasPrivilege('posts:feature'), canListComments: api.hasPrivilege('comments:list'), canCreateComments: api.hasPrivilege('comments:create'), parameters: parameters, |