mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
16 lines
383 B
C#
16 lines
383 B
C#
using Bit.Core.Models.Data;
|
|
|
|
namespace Bit.Api.AdminConsole.Public.Models.Request;
|
|
|
|
public class AssociationWithPermissionsRequestModel : AssociationWithPermissionsBaseModel
|
|
{
|
|
public CollectionAccessSelection ToSelectionReadOnly()
|
|
{
|
|
return new CollectionAccessSelection
|
|
{
|
|
Id = Id.Value,
|
|
ReadOnly = ReadOnly.Value
|
|
};
|
|
}
|
|
}
|