User contexts
The aceUserContext aspect
The aspect aceUserContext defines a set of contexts associated with a user. These contexts can be considered to be different parts of an ACE installation that the user is actively working on.
When this aspect is placed on a user data content (see User Data Service), applications like the Content Developer will use this information to limit the content visible to a user to only be content owned by the configured contexts.
Example content definition with an aceUserContext aspect defined:
{
"importerMetadata" : {
"alias" : "_userdata/myUser"
},
"system": {
"contentType": "aceUserDataContent"
},
"aspects": {
"aceUserContext": {
"contexts": ["context1", "context2"]
}
}
}
Using the example content definition above, the user myUser would be associated with the contexts context1 and context2.