Socket
Socket
Sign inDemoInstall

apostrophe-people

Package Overview
Dependencies
46
Maintainers
10
Versions
107
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.25 to 0.5.26

2

package.json
{
"name": "apostrophe-people",
"version": "0.5.25",
"version": "0.5.26",
"description": "Staff directories, user accounts and personal profiles for the Apostrophe content management system",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -205,1 +205,18 @@ # apostrophe-people

### Extra Fields: How Job Titles Work
You'll notice that, by default, you're prompted for a job title for each person you add to the group. This information is accessible in templates this way:
```javascript
person.groupExtras[groupId].jobTitle
```
If you don't want this feature, you can disable it with the `peopleExtras` option when configuring the `apostrophe-groups` module:
```javascript
peopleExtras: false
```
You can also specify an array of extra fields, replacing the usual job title field. The syntax is a subset of that supported by Apostrophe schemas. We recommend sticking to simple `string` and `select` field types here.
**The relationship between people and groups is currently not an A2 join in the usual sense.** We're not crazy about that, and we may migrate to using standard A2 joins and relationships in the future.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc