1 <ng-container *ngIf="selection">
5 cdStatefulTab="rgw-bucket-details">
6 <ng-container ngbNavItem="details">
9 <ng-template ngbNavContent>
11 <table class="table table-striped table-bordered">
15 class="bold w-25">Versioning</td>
16 <td class="w-75">{{ selection.versioning }}</td>
20 class="bold">Encryption</td>
21 <td>{{ selection.encryption }}</td>
25 class="bold">Replication</td>
26 <td>{{ replicationStatus }}</td>
30 class="bold">MFA Delete</td>
31 <td>{{ selection.mfa_delete }}</td>
35 class="bold">Index type</td>
36 <td>{{ selection.index_type }}</td>
40 class="bold">Placement rule</td>
41 <td>{{ selection.placement_rule }}</td>
45 class="bold">Last modification time</td>
46 <td>{{ selection.mtime | cdDate }}</td>
53 <legend i18n>Bucket quota</legend>
54 <table class="table table-striped table-bordered">
58 class="bold w-25">Enabled</td>
59 <td class="w-75">{{ selection.bucket_quota.enabled | booleanText }}</td>
61 <ng-container *ngIf="selection.bucket_quota.enabled">
64 class="bold">Maximum size</td>
65 <td *ngIf="selection.bucket_quota.max_size <= -1"
67 <td *ngIf="selection.bucket_quota.max_size > -1">
68 {{ selection.bucket_quota.max_size | dimless }}
73 class="bold">Maximum objects</td>
74 <td *ngIf="selection.bucket_quota.max_objects <= -1"
76 <td *ngIf="selection.bucket_quota.max_objects > -1">
77 {{ selection.bucket_quota.max_objects }}
86 <legend i18n>Locking</legend>
87 <table class="table table-striped table-bordered">
91 class="bold w-25">Enabled</td>
92 <td class="w-75">{{ selection.lock_enabled | booleanText }}</td>
94 <ng-container *ngIf="selection.lock_enabled">
97 class="bold">Mode</td>
98 <td>{{ selection.lock_mode }}</td>
102 class="bold">Days</td>
103 <td>{{ selection.lock_retention_period_days }}</td>
110 <ng-container *ngIf="(selection.tagset | keyvalue)?.length">
111 <legend i18n>Tags</legend>
112 <table class="table table-striped table-bordered">
114 <tr *ngFor="let tag of selection.tagset | keyvalue">
116 class="bold w-25">{{tag.key}}</td>
117 <td class="w-75">{{ tag.value }}</td>
126 <ng-container ngbNavItem="permissions">
129 <ng-template ngbNavContent>
131 <table class="table table-striped table-bordered">
135 class="bold w-25">Bucket policy</td>
136 <td><pre>{{ selection.bucket_policy | json}}</pre></td>
140 class="bold w-25">Replication policy</td>
141 <td><pre>{{ selection.replication | json}}</pre></td>
145 class="bold w-25">ACL</td>
147 <table class="table">
156 <td>Bucket Owner</td>
157 <td>{{ aclPermissions.Owner || '-'}}</td>
161 <td>{{ aclPermissions.AllUsers || '-'}}</td>
164 <td>Authenticated users group</td>
165 <td>{{ aclPermissions.AuthenticatedUsers || '-'}}</td>
177 <div [ngbNavOutlet]="nav"></div>