Skip to content

[ADD] web_portal_discuss: allow portal users to join discussions - #3760

Open
seblveb wants to merge 1 commit into
OCA:18.0from
Semper-Connect:18.0-add-web-portal-discuss
Open

seblveb wants to merge 1 commit into
OCA:18.0from
Semper-Connect:18.0-add-web-portal-discuss

Conversation

@seblveb

@seblveb seblveb commented Oct 27, 2026

Copy link
Copy Markdown

Summary

Allow portal users to participate in native Discuss channels to which an
internal user has added their partner.

Scope

  • Reuse native discuss.channel.member membership.
  • Expose only authorized channels to portal users.
  • Allow portal users to read and post messages.
  • Keep channel and member administration restricted to internal users.
  • Reuse the native Discuss interface from the portal.

Security

Portal users cannot:

  • create channels;
  • modify channels;
  • add or remove members;
  • invite users;
  • access channels where they are not members;
  • access the backend Discuss interface.

Tests

  • Portal membership checks.
  • Portal member and non-member HTTP access.
  • Native channel route handling.
  • Unknown channel handling.
  • Message channel scoping.
  • Controller helper coverage.
  • Odoo 18: 13 tests, 0 failures, 0 errors.
  • Pre-commit checks pass.
  • Local coverage: 82%.

Allow internal users to add portal partners as native Discuss members.

Expose only channels for which the portal partner is a member. Portal users
can read and post messages but cannot manage channels or members.

Reuse native Discuss membership instead of introducing a separate portal
invitation or token system.
@OCA-git-bot OCA-git-bot added series:18.0 mod:web_portal_discuss Module web_portal_discuss labels Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:web_portal_discuss Module web_portal_discuss series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants