Tom
4 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
src/db/models/org_policy.rs
|
|
@ -31,7 +31,7 @@ pub struct OrgPolicy { |
|
|
pub revision_date: NaiveDateTime, |
|
|
pub revision_date: NaiveDateTime, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// https://github.com/bitwarden/server/blob/9ebe16587175b1c0e9208f84397bb75d0d595510/src/Core/AdminConsole/Enums/PolicyType.cs
|
|
|
// https://github.com/bitwarden/server/blob/b0f5bc64436a2457e1e8898e65c7e9e40ba94d7a/src/Core/AdminConsole/Enums/PolicyType.cs
|
|
|
#[derive(Copy, Clone, Eq, PartialEq, num_derive::FromPrimitive)] |
|
|
#[derive(Copy, Clone, Eq, PartialEq, num_derive::FromPrimitive)] |
|
|
pub enum OrgPolicyType { |
|
|
pub enum OrgPolicyType { |
|
|
TwoFactorAuthentication = 0, |
|
|
TwoFactorAuthentication = 0, |
|
|
@ -57,6 +57,7 @@ pub enum OrgPolicyType { |
|
|
OrganizationUserNotification = 20, |
|
|
OrganizationUserNotification = 20, |
|
|
SendControls = 21, |
|
|
SendControls = 21, |
|
|
FillAssist = 22, |
|
|
FillAssist = 22, |
|
|
|
|
|
AutotypeGaPolicy = 23, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// https://github.com/bitwarden/server/blob/9ebe16587175b1c0e9208f84397bb75d0d595510/src/Core/AdminConsole/Models/Data/Organizations/Policies/SendOptionsPolicyData.cs#L5
|
|
|
// https://github.com/bitwarden/server/blob/9ebe16587175b1c0e9208f84397bb75d0d595510/src/Core/AdminConsole/Models/Data/Organizations/Policies/SendOptionsPolicyData.cs#L5
|
|
|
|