mirror of
https://github.com/bitwarden/server.git
synced 2025-01-10 20:07:56 +01:00
Remove FC MVP code from Bitwarden Portal (#4492)
This commit is contained in:
parent
7fe4fe16cb
commit
25dc0c9178
@ -69,14 +69,4 @@ public class OrganizationViewModel
|
||||
public int ServiceAccountsCount { get; set; }
|
||||
public int OccupiedSmSeatsCount { get; set; }
|
||||
public bool UseSecretsManager => Organization.UseSecretsManager;
|
||||
|
||||
public string GetCollectionManagementSetting(bool collectionManagementSetting)
|
||||
{
|
||||
if (!Organization.FlexibleCollections)
|
||||
{
|
||||
return "N/A";
|
||||
}
|
||||
|
||||
return collectionManagementSetting ? "On" : "Off";
|
||||
}
|
||||
}
|
||||
|
@ -50,14 +50,11 @@
|
||||
<dt class="col-sm-4 col-lg-3">Collections</dt>
|
||||
<dd class="col-sm-8 col-lg-9">@Model.CollectionCount</dd>
|
||||
|
||||
<dt class="col-sm-4 col-lg-3">Collection management enhancements</dt>
|
||||
<dd class="col-sm-8 col-lg-9">@(Model.Organization.FlexibleCollections ? "On" : "Off")</dd>
|
||||
|
||||
<dt class="col-sm-4 col-lg-3">Administrators manage all collections</dt>
|
||||
<dd class="col-sm-8 col-lg-9">@(Model.GetCollectionManagementSetting(Model.Organization.AllowAdminAccessToAllCollectionItems))</dd>
|
||||
<dd class="col-sm-8 col-lg-9">@(Model.Organization.AllowAdminAccessToAllCollectionItems ? "On" : "Off")</dd>
|
||||
|
||||
<dt class="col-sm-4 col-lg-3">Limit collection creation to administrators</dt>
|
||||
<dd class="col-sm-8 col-lg-9">@(Model.GetCollectionManagementSetting(Model.Organization.LimitCollectionCreationDeletion))</dd>
|
||||
<dd class="col-sm-8 col-lg-9">@(Model.Organization.LimitCollectionCreationDeletion ? "On" : "Off")</dd>
|
||||
</dl>
|
||||
|
||||
<h2>Secrets Manager</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user