1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-25 12:43:36 +00:00

group accessall and readonly

This commit is contained in:
Kyle Spearrin
2017-05-10 12:17:26 -04:00
parent a4473ad739
commit ea24d72f01
8 changed files with 130 additions and 80 deletions

View File

@@ -32,7 +32,8 @@
for (var i = 0; i < groups.Data.length; i++) {
groupsArr.push({
id: groups.Data[i].Id,
name: groups.Data[i].Name
name: groups.Data[i].Name,
accessAll: groups.Data[i].AccessAll
});
}
@@ -61,7 +62,7 @@
};
$scope.groupSelected = function (group) {
return group.id in $scope.selectedGroups;
return group.id in $scope.selectedGroups || group.accessAll;
};
$scope.allSelected = function () {