config.activity_list.filter.restricted.created_by - Initialization - Author API

Author API Initialization

created_by

Only show Activities created by specified users (authors). This will be based on their user.id.

You would want to use this so that authors can see their most relevant Activities, for example.

Examples

var initializationOptions = {
    "config": {
        "activity_list": {
            "filter": {
                "restricted": {
                    "created_by": [
                        "my_user_id_1",
                        "my_user_id_2",
                        // ...
                    ]
                }
            }
        }
    }
};

Values

Attribute path config.activity_list.filter.restricted.created_by

Default []

Type array

Caveats

Note The restricted.current_user initialization option will override this option.

Related articles

Was this article helpful?

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