Skip to content

Instantly share code, notes, and snippets.

@rpinna
Last active September 25, 2018 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpinna/6e63123820f73b60f5bd12d326532fb4 to your computer and use it in GitHub Desktop.
Save rpinna/6e63123820f73b60f5bd12d326532fb4 to your computer and use it in GitHub Desktop.
// Classify data by protection level
@IronEncrypt({dataClassId = 'private'})
export class IntellectualProperty {
...
}
// Classify data by regulatory category
@IronEncrypt({dataClassId = 'personal-health-information'})
export class MedicalRecord {
...
}
// Restrict data to a specific group
@IronEncrypt({groupId = 'legal'})
export class BigCompanyContract {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment