Flow Permissions

User groups can be used to control which of your users can see a particular template when it is published. Groups can be added to a template in its template edit page through this element:

As noted there, by default a published template without any groups will be visible to all your users. When a template has at least one group, it will only be visible to users who are part of that group. If a template has several groups, a user only needs to be a member of at least one of those groups to be able to see it.

You can determine which groups a given user is part of when you implement the marketplace, using the groups attribute. You can optionally pass a comma-separate list of groups the user belongs to, like this:

<div class="content-icenter"><integration-center token="{$userToken}" 
groups="premium,dev" ></integration-center></div>

In this example, the user will be able to see all templates that have the groups premium and/or dev, as well as any templates that do not have any groups.

Last updated