mirror of
https://github.com/bitwarden/server.git
synced 2026-02-03 15:45:19 +08:00
15 lines
428 B
C#
15 lines
428 B
C#
|
|
using Bit.Core.Entities;
|
|||
|
|
|
|||
|
|
namespace Bit.Api.Models.Request.Organizations;
|
|||
|
|
|
|||
|
|
public class OrganizationCollectionManagementUpdateRequestModel
|
|||
|
|
{
|
|||
|
|
public bool LimitCreateDeleteOwnerAdmin { get; set; }
|
|||
|
|
|
|||
|
|
public virtual Organization ToOrganization(Organization existingOrganization)
|
|||
|
|
{
|
|||
|
|
existingOrganization.LimitCollectionCreationDeletion = LimitCreateDeleteOwnerAdmin;
|
|||
|
|
return existingOrganization;
|
|||
|
|
}
|
|||
|
|
}
|