config.item_list.filter.restricted.current_user - Initialization - Author API

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 show the author a list of their own content in all authoring views.

Examples

var initializationOptions = {
    "config": {
        "item_list": {
            "filter": {
                "restricted": {
                    "current_user": true
                }
            }
        }
    }
};

Values

Attribute path config.item_list.filter.restricted.current_user

Default false

Type boolean

Caveats

This option will override the created_by initialization option.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.