Author API Initialization
current_user
Only show Items created by the current user (author). This is based on their Learnosity user.id
.
You would want to use this to restrict the search results to the current author only.
Examples
var initializationOptions = {
"config": {
"activity_edit": {
"item_search": {
"filter": {
"restricted": {
"current_user": true
}
}
}
}
}
};
Values
Attribute path config.activity_edit.item_search.filter.restricted.current_user
Type boolean
Caveats
This option overrides the created_by
initialization option.