Skip to content

MM-70095: Document Slack import account matching behavior - #9123

Open
edgarbellot wants to merge 5 commits into
masterfrom
task/MM-70095
Open

MM-70095: Document Slack import account matching behavior#9123
edgarbellot wants to merge 5 commits into
masterfrom
task/MM-70095

Conversation

@edgarbellot

@edgarbellot edgarbellot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 650c5743-2d33-4bfe-9815-32087630e521

📥 Commits

Reviewing files that changed from the base of the PR and between 8f0f8c6 and 6e626f2.

📒 Files selected for processing (1)
  • source/administration-guide/onboard/migrate-from-slack.rst

📝 Walkthrough

Walkthrough

The Slack migration guide documents email-based account matching. Administrator imports reuse matching Mattermost accounts. Non-administrator imports exclude matching Slack users. The guide updates placeholder-email and account activation guidance.

Changes

Slack account matching

Layer / File(s) Summary
Document existing-account matching
source/administration-guide/onboard/migrate-from-slack.rst
The guide explains placeholder-email handling, account reuse for administrator imports, user exclusion for non-administrator imports, and updated account activation guidance.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the change: documenting Slack import account matching behaviour.
Description check ✅ Passed The description links to the related Jira issue and Mattermost pull request, so it relates to the documented change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch task/MM-70095

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@source/administration-guide/onboard/migrate-from-slack.rst`:
- Around line 353-361: Update the surrounding Slack import guidance to
distinguish administrator imports that reuse a matching Mattermost account from
imports that create new accounts. Revise the account-creation statement near the
referenced earlier section and the activation/password-reset guidance near the
later section so they apply only to newly created accounts, while preserving the
separate non-administrator behavior.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e0f4e326-a2b1-4812-8f1c-e806804e55e2

📥 Commits

Reviewing files that changed from the base of the PR and between 35f4c13 and 3830b6c.

📒 Files selected for processing (1)
  • source/administration-guide/onboard/migrate-from-slack.rst

Comment thread source/administration-guide/onboard/migrate-from-slack.rst Outdated
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 3830b6c

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA d171f7d

@esethna

esethna commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@edgarbellot can you please assign a dev reviewer and also add the corresponding server release milestone? Thanks!

cc// @Combs7th

@edgarbellot
edgarbellot requested a review from carlisgg August 10, 2026 21:29
@edgarbellot

Copy link
Copy Markdown
Contributor Author

@carlisgg adding you since you reviewed the corresponding PR in the monorepo

@github-actions

Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 91f05d3

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (2)
source/administration-guide/onboard/migrate-from-slack.rst (2)

355-355: 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Correct the authenticatation typo.

Change authenticatation to authentication in the cross-reference label.

As per coding guidelines, documentation must flag spelling and terminology errors.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@source/administration-guide/onboard/migrate-from-slack.rst` at line 355,
Correct the misspelled “authenticatation” term in the cross-reference label for
the Slack user migration instructions to “authentication,” leaving the
surrounding documentation and reference target unchanged.

Source: Coding guidelines


331-331: 🗄️ Data Integrity & Integration | 🟠 Major

Qualify account creation and activation by match status.

The sentence “During the import process, the emails and usernames from Slack are used to create new Mattermost accounts” applies to every user. This conflicts with the matching rules at Lines 343-350.

The sentence “Slack users activate their new Mattermost accounts” also applies to matched administrator accounts and excluded non-administrator users.

Update both statements so they apply only when no existing Mattermost account matches.

Suggested wording
-During the import process, the emails and usernames from Slack are used to create new Mattermost accounts.
+During the import process, the emails and usernames from Slack are used to create new Mattermost accounts when no existing Mattermost account matches.

-* Slack users activate their new Mattermost accounts by using Mattermost's **Password Reset** screen with their email addresses from Slack to set new passwords for their Mattermost accounts.
+* Slack users whose imports create new Mattermost accounts activate those accounts by using Mattermost's **Password Reset** screen with their email addresses from Slack to set new passwords.

This repeats the previously reported account-creation and activation inconsistency. As per coding guidelines, documentation must describe feature behaviour accurately and provide corrected wording for inaccurate text.

Also applies to: 355-355

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@source/administration-guide/onboard/migrate-from-slack.rst` at line 331,
Revise the account-creation statement and the Slack-user activation statement in
the migration guide so they apply only when no existing Mattermost account
matches. Keep the documented matching behavior for matched administrator
accounts and excluded non-administrator users accurate, and update both
occurrences identified near the account-creation and activation guidance.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@source/administration-guide/onboard/migrate-from-slack.rst`:
- Line 355: Correct the misspelled “authenticatation” term in the
cross-reference label for the Slack user migration instructions to
“authentication,” leaving the surrounding documentation and reference target
unchanged.
- Line 331: Revise the account-creation statement and the Slack-user activation
statement in the migration guide so they apply only when no existing Mattermost
account matches. Keep the documented matching behavior for matched administrator
accounts and excluded non-administrator users accurate, and update both
occurrences identified near the account-creation and activation guidance.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bdbeafdf-0a08-4388-8b2e-57f551206b56

📥 Commits

Reviewing files that changed from the base of the PR and between d171f7d and 9850e71.

📒 Files selected for processing (1)
  • source/administration-guide/onboard/migrate-from-slack.rst

@github-actions

Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 9850e71

@edgarbellot

Copy link
Copy Markdown
Contributor Author

@coderabbitai Both outside-diff points are addressed in 6e626f2:

  • Re the note on source/administration-guide/onboard/migrate-from-slack.rst (~line 331): the account-creation sentence is now qualified with "when no existing account is matched", and the Account activation bullet now reads "activate or access their Mattermost accounts".
  • Re the note on the same file (~line 355): the authenticatation typo in the cross-reference label is fixed (ref target unchanged).

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Tip

For best results, initiate chat on the files or code changes.

@edgarbellot Thanks. Both outside-diff points are addressed.

You are interacting with an AI system.

@github-actions

Copy link
Copy Markdown
Contributor

Newest code from mattermost has been published to preview environment for Git SHA 6e626f2

@edgarbellot

Copy link
Copy Markdown
Contributor Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Full review finished.

@edgarbellot

Copy link
Copy Markdown
Contributor Author

@coderabbitai resolve

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Comments resolved and changes approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1: Dev Review Requires review by a core commiter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants