add acl stuff

This commit is contained in:
Julius Haertl
2016-07-08 19:29:07 +02:00
parent 0b46412623
commit 82158f03a0
5 changed files with 26 additions and 2 deletions

View File

@@ -199,6 +199,10 @@ app.controller('BoardController', ["$rootScope", "$scope", "$stateParams", "Stat
BoardService.addSharee(sharee);
$scope.status.addSharee = null;
}
$scope.deleteAcl = function(acl) {
acl.boardId = $scope.id;
BoardService.removeAcl(acl);
}
// TODO: move to filter?
// Lighten Color of the board for background usage
$scope.rgblight = function (hex) {