From f2e6789405a065f3fc0d3e33183bfb66e4bc6d1f Mon Sep 17 00:00:00 2001 From: samsep Date: Thu, 11 Feb 2016 11:03:51 -0800 Subject: [PATCH] default to all permissions --- src/scripts/messaging.controller.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/messaging.controller.coffee b/src/scripts/messaging.controller.coffee index 7cb5157..f447d75 100644 --- a/src/scripts/messaging.controller.coffee +++ b/src/scripts/messaging.controller.coffee @@ -11,7 +11,7 @@ MessagingController = ($scope, $document, $filter, API_URL, MessagesAPIService, vm.workId = $scope.workId vm.threadId = $scope.threadId vm.subscriberId = $scope.subscriberId - vm.permissions = $scope.permissions + vm.permissions = $scope.permissions || ['CREATE', 'UPDATE', 'DELETE'] vm.uploaderUploading = null vm.uploaderHasErrors = null vm.uploaderHasFiles = null