1
0
mirror of https://github.com/bitwarden/web synced 2026-01-03 09:03:41 +00:00

event logs for users. ip address. useEvents checks

This commit is contained in:
Kyle Spearrin
2017-12-18 13:17:49 -05:00
parent 828149b2d6
commit f54884eb79
11 changed files with 168 additions and 7 deletions

View File

@@ -6,8 +6,16 @@
$scope.ciphers = [];
$scope.collections = [];
$scope.loading = true;
$scope.useEvents = false;
$scope.$on('$viewContentLoaded', function () {
authService.getUserProfile().then(function (profile) {
if (profile.organizations) {
var org = profile.organizations[$state.params.orgId];
$scope.useEvents = !!org.useEvents;
}
});
var collectionPromise = apiService.collections.listOrganization({ orgId: $state.params.orgId }, function (collections) {
var decCollections = [{
id: null,