1
0
mirror of https://github.com/bitwarden/web synced 2025-12-13 23:03:18 +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

@@ -45,7 +45,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
});
}
@@ -74,7 +75,7 @@
};
$scope.groupSelected = function (group) {
return group.id in $scope.selectedGroups;
return group.id in $scope.selectedGroups || group.accessAll;
};
$scope.allSelected = function () {