1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

Add jsdoc comments to PolicyServiceAbstraction (#6743)

This commit is contained in:
Thomas Rittson
2023-11-22 10:35:10 +10:00
committed by GitHub
parent a64f1c05a5
commit a6e3d4d244
3 changed files with 72 additions and 22 deletions

View File

@@ -7,6 +7,11 @@ export class Policy extends Domain {
organizationId: string;
type: PolicyType;
data: any;
/**
* Warning: a user can be exempt from a policy even if the policy is enabled.
* @see {@link PolicyService} has methods to tell you whether a policy applies to a user.
*/
enabled: boolean;
constructor(obj?: PolicyData) {