mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
list details about user w/ access to all subvaults
This commit is contained in:
@@ -89,7 +89,8 @@
|
|||||||
name: list.Data[i].Name,
|
name: list.Data[i].Name,
|
||||||
email: list.Data[i].Email,
|
email: list.Data[i].Email,
|
||||||
status: list.Data[i].Status,
|
status: list.Data[i].Status,
|
||||||
type: list.Data[i].Type
|
type: list.Data[i].Type,
|
||||||
|
accessAllSubvaults: list.Data[i].AccessAllSubvaults
|
||||||
};
|
};
|
||||||
|
|
||||||
users.push(user);
|
users.push(user);
|
||||||
|
|||||||
@@ -25,7 +25,8 @@
|
|||||||
email: userList.Data[i].Email,
|
email: userList.Data[i].Email,
|
||||||
type: userList.Data[i].Type,
|
type: userList.Data[i].Type,
|
||||||
status: userList.Data[i].Status,
|
status: userList.Data[i].Status,
|
||||||
readOnly: userList.Data[i].ReadOnly
|
readOnly: userList.Data[i].ReadOnly,
|
||||||
|
accessAllSubvaults: userList.Data[i].AccessAllSubvaults
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$scope.users = users;
|
$scope.users = users;
|
||||||
|
|||||||
@@ -64,6 +64,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="javascript:void(0)" ng-click="edit(user.id)">{{user.email}}</a>
|
<a href="javascript:void(0)" ng-click="edit(user.id)">{{user.email}}</a>
|
||||||
|
<i class="fa fa-share-alt text-muted" ng-show="user.accessAllSubvaults"
|
||||||
|
title="Can Access All Subvaults"></i>
|
||||||
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
|
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 100px;">
|
<td style="width: 100px;">
|
||||||
|
|||||||
@@ -15,18 +15,23 @@
|
|||||||
<div class="table-responsive" ng-show="users.length" style="margin: 0;">
|
<div class="table-responsive" ng-show="users.length" style="margin: 0;">
|
||||||
<table class="table table-striped table-hover table-vmiddle" style="margin: 0;">
|
<table class="table table-striped table-hover table-vmiddle" style="margin: 0;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="user in users | orderBy: ['email'] track by user.id">
|
<tr ng-repeat="user in users | orderBy: ['email']">
|
||||||
<td style="width: 70px;">
|
<td style="width: 70px;">
|
||||||
<div class="btn-group" data-append-to=".modal">
|
<div class="btn-group" data-append-to=".modal">
|
||||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
<i class="fa fa-cog"></i> <span class="caret"></span>
|
<i class="fa fa-cog"></i> <span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li>
|
<li ng-show="user.id">
|
||||||
<a href="javascript:void(0)" ng-click="remove(user)" class="text-red">
|
<a href="javascript:void(0)" ng-click="remove(user)" class="text-red">
|
||||||
<i class="fa fa-fw fa-remove"></i> Remove
|
<i class="fa fa-fw fa-remove"></i> Remove
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li ng-show="!user.id">
|
||||||
|
<a href="javascript:void(0)">
|
||||||
|
No options...
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@@ -37,8 +42,9 @@
|
|||||||
{{user.email}}
|
{{user.email}}
|
||||||
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
|
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 40px;" align="center">
|
<td style="width: 60px;" align="center">
|
||||||
<i class="fa fa-pencil-square-o" ng-show="!user.readOnly" title="Can Edit"></i>
|
<i class="fa fa-pencil-square-o" ng-show="!user.readOnly" title="Can Edit"></i>
|
||||||
|
<i class="fa fa-share-alt" ng-show="user.accessAllSubvaults" title="Can Access All Subvaults"></i>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 100px;">
|
<td style="width: 100px;">
|
||||||
{{user.type | enumName: 'OrgUserType'}}
|
{{user.type | enumName: 'OrgUserType'}}
|
||||||
|
|||||||
Reference in New Issue
Block a user