1
0
mirror of https://github.com/bitwarden/server synced 2025-12-25 20:53:16 +00:00

pub/priv keys and share updates

This commit is contained in:
Kyle Spearrin
2017-02-21 00:27:32 -05:00
parent 47da65be5f
commit 9ca2baba74
10 changed files with 13 additions and 49 deletions

View File

@@ -11,7 +11,6 @@ namespace Bit.Core.Domains
public Enums.CipherType Type { get; set; }
public bool Favorite { get; set; }
public string Data { get; set; }
public string Shares { get; set; }
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
@@ -19,12 +18,5 @@ namespace Bit.Core.Domains
{
Id = CoreHelpers.GenerateComb();
}
public class Share
{
public Guid UserId { get; set; }
public string Key { get; set; }
// TODO: permission flags?
}
}
}