Allow setting default value on field_domain_access

Created on 19 September 2017, almost 8 years ago
Updated 1 August 2023, about 2 years ago

Hello
I have 2 questions

  1. is there a way to activate domain access only on some node types and not all
  2. is there a way to define default value for the domain field for each node type

Thanks

✨ Feature request
Status

Needs review

Version

1.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada arakwar

    I have a situation where I'd like some users to be allowed to publish content on a second domain, but have everyone go trough the "main" domain to create content.

    Is it something that this patch would help to cover ?

  • πŸ‡³πŸ‡ΏNew Zealand xurizaemon Ōtepoti, Aotearoa 🏝

    Here's interdiff for 24 to 33, it does look like 24 incorrectly referred to a constant that wasn't defined.

  • Status changed to Needs work 10 months ago
  • πŸ‡¨πŸ‡¦Canada megan_m

    This patch no longer applies

  • πŸ‡¨πŸ‡¦Canada johnjw59@gmail.com

    Attached is an updated patch for 2.0.0-beta2

  • πŸ‡°πŸ‡·South Korea keithlee_giai

    can confirm that @johnjw59 's patch works on 2.0.0-beta2 and the Oct dev version.
    It would be ideal to have an option to choose which domain to be the default, though.

  • πŸ‡¨πŸ‡¦Canada johnjw59@gmail.com

    Another reroll against 2.0.0-beta3 this time.

    Unfortunately the patch contains two update hooks that are now in use by the project, so if you're updating the module and had previously installed this patch you'll need to reset the schema version to 8000 in "key_value" table before updating, patching and running DB updates.

Production build 0.71.5 2024