Skip to main content

bitwarden_policies/policies/
autotype_ga_policy.rs

1use bitwarden_organizations::OrganizationUserType;
2
3use crate::{PolicyDefinition, PolicyType, policy_type::PolicyDataType};
4
5pub struct AutotypeGaPolicy;
6
7impl PolicyDefinition for AutotypeGaPolicy {
8    type Data = ();
9
10    fn policy_type(&self) -> PolicyType {
11        PolicyType::AutotypeGaPolicy
12    }
13
14    fn to_erased(&self, _data: Self::Data) -> PolicyDataType {
15        PolicyDataType::AutotypeGaPolicy
16    }
17
18    fn exempt_roles(&self) -> &[OrganizationUserType] {
19        &[]
20    }
21}