If some default values for the domain access field include domains the user is not assigned to, they are still present on the content add form when using the autocomplete widget, though - Restricted access - is displayed.

The form validation will fail with a message similar to:

This entity (domain: one_example_com) cannot be referenced.

It this case, the user doesn't have access to the one_example_com domain.

We should filter out invalid values from the domain access field default values.

Issue fork domain-3564368

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Issue summary: View changes
mably’s picture

Issue summary: View changes

mably’s picture

Issue summary: View changes
mably’s picture

Issue summary: View changes
mably’s picture

Issue summary: View changes
mably’s picture

Status: Active » Needs review
mably’s picture

  • mably committed d09bc450 on 3.x
    fix: #3564368 Do not display invalid default values for...
mably’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.