mirror of
https://github.com/bitwarden/server
synced 2025-12-19 17:53:44 +00:00
AC Team code ownership moves: AssociationWithPermissions public api model (#3584)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user