Docs: Update ABAC Channel Access Rules documentation for v11.3#8671
Docs: Update ABAC Channel Access Rules documentation for v11.3#8671
Conversation
- Clarify that each ABAC channel access policy has explicit active state - Document independent behavior of channel-level (child) policies - Clarify auto-sync behavior follows channel policy's active state - Add troubleshooting note for verifying channel access control policy is active Co-authored-by: Combs7th <Combs7th@users.noreply.github.com>
|
Newest code from mattermost has been published to preview environment for Git SHA 931394f |
|
@isacikgoz - Do the above doc updates look accurate to you? |
|
Newest code from mattermost has been published to preview environment for Git SHA 99875b3 |
isacikgoz
left a comment
There was a problem hiding this comment.
Thanks @Combs7th I think we might want to clarify the active state.
active state that determines whether the policy's rules are enforced and whether automatic member synchronization applies to the channel.
Regardless of active state, policy's rules will be enforced to remove members if they don't conform to required attribute rules.
|
|
||
| Channel and Team Admins can self-manage access controls for their private channels directly through the Channel Settings modal, without requiring System Admin intervention. For organization-wide policies created by System Admins, see :doc:`System-wide attribute-based access policies </administration-guide/manage/admin/abac-system-wide-policies>`. | ||
|
|
||
| Each ABAC channel access policy has an explicit **active state** that determines whether the policy's rules are enforced and whether automatic member synchronization applies to the channel. Channel-level (child) ABAC policies behave independently and consistently, even when parent system-wide policies exist. |
There was a problem hiding this comment.
Regardless of the active state, if there is a policy applied to a channel it will be enforced. The active state indicates that the users matching to the policy will be automatically added. System-wide policies can be inherited, but they don't have an influence on whether auto-add feature also inherited or not. Only the rules are inherited, for auto-add we check the individual channel policy.
| ~~~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| The **Auto-add members based on access rules** toggle controls automatic membership management: | ||
| The **Auto-add members based on access rules** toggle controls automatic membership management. Auto-sync behavior follows the channel policy's active state, reducing unexpected inheritance-related behavior: |
There was a problem hiding this comment.
It's not about inheritance but more giving the channel admin or system admin to decide if occasionally dropped members (eg. if users are losing attributes for some time), it will re-add them. Or you want to dedicate a channel to certain attribute and you always want to make sure people are in the channel. More like an alternative for LDAP group channels.
|
|
||
| .. important:: | ||
|
|
||
| - Auto-sync behavior is determined by the channel policy's active state, not inherited from parent policies. |
| Policy inheritance | ||
| -------------------- | ||
|
|
||
| Channel-level (child) ABAC policies now behave independently and consistently, even when parent system-wide policies exist. Each policy maintains its own active state and configuration. |
|
Newest code from mattermost has been published to preview environment for Git SHA cd53bf8 |
|
Reassigning to Carrie, since she wrote the original ABAC docs and has more familiarity. @john-combs can you confirm if you've addressed the feedback from @isacikgoz, If so, we can ask him to rereview as well. |
|
@claude - Please update this doc text based on the feedback from @isacikgoz above. Key corrections to reflect accurately:
What I need:
|
|
Claude finished @Combs7th's task in 1m 34s —— View job Documentation updates completedTasks
Changes made:Line 9 - Introduction paragraph:
Lines 58-76 - Auto-sync membership section:
Lines 93-105 - Policy inheritance section:
Lines 200-218 - Troubleshooting section:
All changes have been committed and pushed to the PR branch. |
Updated ABAC channel access rules documentation to accurately reflect: - Policy rules are always enforced (including member removal) regardless of active state - Active state controls only automatic member addition/re-addition (auto-sync) - Auto-add is evaluated per-channel policy, not inherited from parent policies - Reframed auto-sync as a feature for keeping channels aligned to attributes Based on technical review feedback from @isacikgoz Co-authored-by: Combs7th <Combs7th@users.noreply.github.com>
|
@isacikgoz - Does the above look more accurate to you? |
|
Newest code from mattermost has been published to preview environment for Git SHA 3fcce44 |
isacikgoz
left a comment
There was a problem hiding this comment.
Looks good, only one suggestion on improving the sentence.
source/administration-guide/manage/admin/abac-channel-access-rules.rst
Outdated
Show resolved
Hide resolved
…ules.rst Co-authored-by: Ibrahim Serdar Acikgoz <serdaracikgoz86@gmail.com>
|
Newest code from mattermost has been published to preview environment for Git SHA 69a8713 |
|
Newest code from mattermost has been published to preview environment for Git SHA 1db1b2d |
Updates the Mattermost Administration Guide section for ABAC Channel Access Rules to clarify:
Fixes #8666
Generated with Claude Code