mirror of
https://github.com/bitwarden/server
synced 2025-12-20 02:03:46 +00:00
Add support for new collection access, hide passwords
This commit is contained in:
@@ -11,13 +11,15 @@ namespace Bit.Core.Models.Api
|
||||
[Required]
|
||||
public string Id { get; set; }
|
||||
public bool ReadOnly { get; set; }
|
||||
public bool HidePasswords { get; set; }
|
||||
|
||||
public SelectionReadOnly ToSelectionReadOnly()
|
||||
{
|
||||
return new SelectionReadOnly
|
||||
{
|
||||
Id = new Guid(Id),
|
||||
ReadOnly = ReadOnly
|
||||
ReadOnly = ReadOnly,
|
||||
HidePasswords = HidePasswords
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user