diff options
author | brantje <brantje@gmail.com> | 2016-10-04 15:50:49 +0300 |
---|---|---|
committer | brantje <brantje@gmail.com> | 2016-10-04 15:50:49 +0300 |
commit | 6b0e208907f7c8f16ec35075b0e60fa763038973 (patch) | |
tree | d9713bb0b9a8ac66c4b397aa6692e4dba73c4977 | |
parent | bca3cefd0c7f2ef484851ad93ca9a47e096f8abb (diff) |
Get acl list on load
-rw-r--r-- | js/app/controllers/share.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/js/app/controllers/share.js b/js/app/controllers/share.js index fb8d7bd5..adb74da0 100644 --- a/js/app/controllers/share.js +++ b/js/app/controllers/share.js @@ -89,16 +89,10 @@ angular.module('passmanApp') }; - $scope.accessLevels = [ - { - label: 'Can edit', - value: '3' - }, - { - label: 'Can view', - value: '1' - } - ]; + ShareService.getSharedCredentialACL($scope.storedCredential).then(function (aclList) { + console.log(aclList); + }) + var acl = new SharingACL(0); |