Skip to content

[IMP] portal_backend: create Portal / Portal Backend users from the Users form#410

Open
les-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-65313-les
Open

[IMP] portal_backend: create Portal / Portal Backend users from the Users form#410
les-adhoc wants to merge 1 commit into
ingadhoc:19.0from
adhoc-dev:19.0-t-65313-les

Conversation

@les-adhoc

@les-adhoc les-adhoc commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Create Portal and Portal Backend users directly from Settings → Users → New (manual and import), without going through Contacts or hitting the "exclusive groups" error.

  • User Type selector (Internal / Portal / Portal Backend), developer-mode only (v18 parity).
  • Sets share + groups consistently for manual creation and import, stripping conflicting groups so the exclusive-groups constraint never trips.
  • Portal Backend users grant Advanced Portal accesses via the native privilege widget (hidden for internal users).
  • Reuses an existing contact (matched by email) instead of duplicating it.

@roboadhoc

Copy link
Copy Markdown
Contributor

Pull request status dashboard

…sers form

Add an "Access Type" selector (Internal / Portal / Portal Backend, developer
mode only) and the logic to set share + groups consistently from manual
creation and import, without tripping the exclusive-groups validation.

- access_type drives groups via compute/inverse + create(), so manual and
  import (access_type column or the "Role / Portal Backend" group) match.
- Portal Backend users get a dedicated "Advanced Portal" section, reusing the
  native privilege widget scoped to that category.
- Reuse an existing contact (matched by email) instead of duplicating it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants