docs/main/administration-guide/manage/admin/abac-team-channel-policies.mdx
Team Admins can create and manage attribute-based membership policies for private channels within their team, directly from Team Settings, without requiring System Admin involvement. For organization-wide policies managed by System Admins, see System-wide attribute-based access policies.
With team-level channel membership policies, Team Admins can:
manage_team_access_rules permission is included in the Team Admin role by default.System Admins also have access to the Membership Policies tab in Team Settings and see the same policies as Team Admins.
</Note>The Membership Policies tab shows policies scoped to the team. Each policy displays its name and the number of private channels it applies to.
Team Admins only see policies whose access rules their own user attributes satisfy. If a policy has rules that exclude the Team Admin's attributes (for example, a policy requiring Department=Engineering and the Team Admin has Department=Finance), that policy will not appear in their list. This is a self-inclusion safety mechanism to prevent admins from being locked out of policies they manage.
Self-exclusion prevention is enforced during save. If your defined rules would exclude your own user account, Mattermost will block the save and display an error. Adjust your rules to include your own attributes before saving.
Select a policy row in the list, or use the three-dot menu and select Edit, to open the policy editor. You can update the policy name, access rules, and channel assignments. Select Save to apply changes.
When saving changes that affect existing channel membership, a confirmation dialog shows how many users will be added or removed. Confirm to proceed.
You can only delete a policy that has no channels assigned to it. To delete a policy:
Each channel assigned to a policy has an independent Auto-add members toggle:
Regardless of this setting, users who no longer satisfy the access rules are always removed during the next synchronization.
<Note>If a system-wide policy has auto-sync enabled for a channel, Team Admins cannot disable it for that channel. If a system-wide policy has auto-sync disabled, Team Admins can choose to enable it.
</Note>When both a system-wide policy and a team-level policy apply to the same channel, both must be satisfied. Team-level policies are additive and cannot relax or override restrictions set by System Admins.
A policy that has private channels from more than one team is considered a cross-team policy. Cross-team policies are not visible in any team's Membership Policies tab — they are managed exclusively through the System Console.
If a System Admin adds a channel from another team to a policy that was previously scoped to one team, that policy will no longer appear in any team's Membership Policies tab.
When you save a policy or modify channel assignments, Mattermost creates a membership synchronization job. Changes are applied as soon as the job completes. Synchronization also runs automatically every 30 minutes to handle attribute changes from external systems such as LDAP or SAML.
The Membership Policies tab is only visible when:
There are two reasons a policy may not appear in your Membership Policies tab:
Department=Engineering and your profile has Department=Finance, you will not see that policy. A System Admin or another Team Admin whose attributes do satisfy the rules would need to manage it instead.Mattermost validates your access rules against your own user attributes before saving. If the rules would remove you from any assigned channel, the save is blocked and an error is shown. Adjust the rules to include your own attributes, or reset them using the Undo option in the save panel.
Yes. A private channel can be assigned to multiple membership policies. Each policy's rules are applied independently, and users must satisfy all of them to access the channel.
No. Team-level policies are always additive. Users must satisfy both the system-wide policy and the team-level policy to access a channel. Team Admins cannot weaken or bypass restrictions set by System Admins.
Users receive standard Mattermost notifications when they are removed from or added to channels due to policy changes, consistent with other membership change notifications.