-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,21 @@ | ||
/* | ||
* | ||
*/ | ||
* Privacy Rules | ||
*/ | ||
|
||
var rules ={ // not normalized and optimized for Mongo storage. | ||
name : String, /* Name of the rule */ | ||
title : String, /* Display purpose title */ | ||
content : { | ||
text : String, /* Details about the rule, in text */ | ||
html : String /* Details about the rule, in html */ | ||
}, | ||
category : String, /* Category of the rules */ | ||
applyFields : [], /* fields that apply on . List of string */ | ||
allowAccessFields : [], /* fields that allow information or data to be shared */ | ||
validateFunc: Function, /* Function that does validation */ | ||
author : [], /* List of author */ | ||
verifiedBy : [], /* Rules that are verified by */ | ||
applyLocation: [], /* Locations where this privacy terms will be in effect */ | ||
expire : Date, /* Expiration date */ | ||
modification: [] /* History of modification */ | ||
}; |