mirror of
https://github.com/bitwarden/server.git
synced 2025-07-06 02:22:49 -05:00
Add support for Emergency Access (#1000)
* Add support for Emergency Access * Add migration script * Review comments * Ensure grantor has premium when inviting new grantees. * Resolve review comments * Remove two factor references
This commit is contained in:
11
src/Core/Enums/EmergencyAccessStatusType.cs
Normal file
11
src/Core/Enums/EmergencyAccessStatusType.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace Bit.Core.Enums
|
||||
{
|
||||
public enum EmergencyAccessStatusType : byte
|
||||
{
|
||||
Invited = 0,
|
||||
Accepted = 1,
|
||||
Confirmed = 2,
|
||||
RecoveryInitiated = 3,
|
||||
RecoveryApproved = 4,
|
||||
}
|
||||
}
|
8
src/Core/Enums/EmergencyAccessType.cs
Normal file
8
src/Core/Enums/EmergencyAccessType.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Bit.Core.Enums
|
||||
{
|
||||
public enum EmergencyAccessType : byte
|
||||
{
|
||||
View = 0,
|
||||
Takeover = 1,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user