mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
47 lines
1.4 KiB
JavaScript
47 lines
1.4 KiB
JavaScript
privacyOptions = { // true means exposed
|
|
_id: true,
|
|
commentCount: true,
|
|
createdAt: true,
|
|
email_hash: true,
|
|
isInvited: true,
|
|
karma: true,
|
|
postCount: true,
|
|
slug: true,
|
|
username: true,
|
|
'profile.username': true,
|
|
'profile.notifications': true,
|
|
'profile.bio': true,
|
|
'profile.github': true,
|
|
'profile.site': true,
|
|
'profile.twitter': true,
|
|
'services.twitter.profile_image_url': true,
|
|
'services.twitter.profile_image_url_https': true,
|
|
'services.facebook.id': true,
|
|
'services.twitter.screenName': true,
|
|
'services.github.screenName': true, // Github is not really used, but there are some mentions to it in the code
|
|
'votes.downvotedComments': true,
|
|
'votes.downvotedPosts': true,
|
|
'votes.upvotedComments': true,
|
|
'votes.upvotedPosts': true
|
|
};
|
|
|
|
// options for your own user account (for security reasons, block certain properties)
|
|
ownUserOptions = {
|
|
'services.password.bcrypt': false
|
|
}
|
|
|
|
// minimum required properties to display avatars
|
|
avatarOptions = {
|
|
_id: true,
|
|
email_hash: true,
|
|
slug: true,
|
|
username: true,
|
|
'profile.username': true,
|
|
'profile.github': true,
|
|
'profile.twitter': true,
|
|
'services.twitter.profile_image_url': true,
|
|
'services.twitter.profile_image_url_https': true,
|
|
'services.facebook.id': true,
|
|
'services.twitter.screenName': true,
|
|
'services.github.screenName': true, // Github is not really used, but there are some mentions to it in the code
|
|
}
|