A scope is a filter which applies to a collection and all its segments.
It is useful in that it can be used to control what data is available to users. More specifically, scopes can be set up to filter data dynamically on the current user.
To access the scope management page for a given collection, you'll need to go to that collection's settings page using the Layout editor mode.
Once on the Scopes tab (1), you can set up your filter (2) and save (3). In the above screenshot, only customers with an email ending with @forestadmin.com will be displayed in the collection and all of its segments. All other customers won't be accessible.
Imagine a situation where you have several Operations teams each specialized in a specific country's operations:
France team handles customers from France
Germany team handles customers from Germany
If you set up the following scope...
...then Marc who belongs to the France team will only see customers from France. However, Louis who belongs to the Germany team will only see customers from Germany.
In the example above, we used the team name to filter out what the user sees:
Here the exhaustive list of available dynamic variables:
The id of the current user
The first name of the current user
The last name of the current user
The full name of the current user
The email of the current user
The id of the team of the current user
the name of the team of the current user