> For the complete documentation index, see [llms.txt](https://flowmate.gitbook.io/flowmate-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flowmate.gitbook.io/flowmate-documentation/flow-permissions.md).

# 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:

<figure><img src="/files/2dnec3tw9nmZHWmestca" alt=""><figcaption></figcaption></figure>

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:

```jsx
<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.
