Initialization Option Author API

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

Request object key 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?