1 <tabset *
ngIf=
"selection">
5 <table class=
"table table-striped table-bordered">
9 class=
"bold w-25">Tenant
</td>
10 <td class=
"w-75">{{ user.tenant }}
</td>
14 class=
"bold w-25">User ID
</td>
15 <td class=
"w-75">{{ user.user_id }}
</td>
19 class=
"bold w-25">Username
</td>
20 <td class=
"w-75">{{ user.uid }}
</td>
24 class=
"bold">Full name
</td>
25 <td>{{ user.display_name }}
</td>
27 <tr *
ngIf=
"user.email?.length">
29 class=
"bold">Email address
</td>
30 <td>{{ user.email }}
</td>
34 class=
"bold">Suspended
</td>
35 <td>{{ user.suspended | booleanText }}
</td>
39 class=
"bold">System
</td>
40 <td>{{ user.system === 'true' | booleanText }}
</td>
44 class=
"bold">Maximum buckets
</td>
45 <td>{{ user.max_buckets | map:maxBucketsMap }}
</td>
47 <tr *
ngIf=
"user.subusers && user.subusers.length">
49 class=
"bold">Subusers
</td>
51 <div *
ngFor=
"let subuser of user.subusers">
52 {{ subuser.id }} ({{ subuser.permissions }})
56 <tr *
ngIf=
"user.caps && user.caps.length">
58 class=
"bold">Capabilities
</td>
60 <div *
ngFor=
"let cap of user.caps">
61 {{ cap.type }} ({{ cap.perm }})
69 <div *
ngIf=
"user.user_quota">
70 <legend i18n
>User quota
</legend>
71 <table class=
"table table-striped table-bordered">
75 class=
"bold w-25">Enabled
</td>
76 <td class=
"w-75">{{ user.user_quota.enabled | booleanText }}
</td>
80 class=
"bold">Maximum size
</td>
81 <td *
ngIf=
"!user.user_quota.enabled">-
</td>
82 <td *
ngIf=
"user.user_quota.enabled && user.user_quota.max_size <= -1"
84 <td *
ngIf=
"user.user_quota.enabled && user.user_quota.max_size > -1">
85 {{ user.user_quota.max_size | dimlessBinary }}
90 class=
"bold">Maximum objects
</td>
91 <td *
ngIf=
"!user.user_quota.enabled">-
</td>
92 <td *
ngIf=
"user.user_quota.enabled && user.user_quota.max_objects <= -1"
94 <td *
ngIf=
"user.user_quota.enabled && user.user_quota.max_objects > -1">
95 {{ user.user_quota.max_objects }}
102 <!-- Bucket quota -->
103 <div *
ngIf=
"user.bucket_quota">
104 <legend i18n
>Bucket quota
</legend>
105 <table class=
"table table-striped table-bordered">
109 class=
"bold w-25">Enabled
</td>
110 <td class=
"w-75">{{ user.bucket_quota.enabled | booleanText }}
</td>
114 class=
"bold">Maximum size
</td>
115 <td *
ngIf=
"!user.bucket_quota.enabled">-
</td>
116 <td *
ngIf=
"user.bucket_quota.enabled && user.bucket_quota.max_size <= -1"
118 <td *
ngIf=
"user.bucket_quota.enabled && user.bucket_quota.max_size > -1">
119 {{ user.bucket_quota.max_size | dimlessBinary }}
124 class=
"bold">Maximum objects
</td>
125 <td *
ngIf=
"!user.bucket_quota.enabled">-
</td>
126 <td *
ngIf=
"user.bucket_quota.enabled && user.bucket_quota.max_objects <= -1"
128 <td *
ngIf=
"user.bucket_quota.enabled && user.bucket_quota.max_objects > -1">
129 {{ user.bucket_quota.max_objects }}
138 <tab *
ngIf=
"keys.length"
141 <cd-table [data]=
"keys"
142 [columns]=
"keysColumns"
144 selectionType=
"multi"
145 forceIdentifier=
"true"
146 (updateSelection)=
"updateKeysSelection($event)">
147 <div class=
"table-actions">
148 <div class=
"btn-group"
150 <button type=
"button"
151 class=
"btn btn-secondary"
152 [disabled]=
"!keysSelection.hasSingleSelection"
153 (click)=
"showKeyModal()">
154 <i [ngClass]=
"[icons.show]"></i>
155 <ng-container i18n
>Show
</ng-container>