Problem

There is no schema declaration for the social_group.comment_settings config object.

Proposed solution

Add a config/schema/social_group.schema.yml file with the following contents:

social_group.settings:
  type: config_object
  label: 'Social Group Settings'
  mapping:
    allow_group_selection_in_node:
      type: boolean
      label: 'Allow logged-in users to change or remove a group when editing content.'

Needed discussion

Discuss whether the labels/descriptions are correct.

CommentFileSizeAuthor
#3 social_group_schema_2947965_3.patch447 bytesemartoni

Comments

Kingdutch created an issue. See original summary.

emartoni’s picture

Assigned: Unassigned » emartoni

working on it

emartoni’s picture

Assigned: emartoni » Unassigned
Status: Active » Needs review
StatusFileSize
new447 bytes

Patch attached!

Best,
Eduardo

kingdutch’s picture

Status: Needs review » Reviewed & tested by the community

Pull request for this has been created here: https://github.com/goalgorilla/open_social/pull/759

jaapjan’s picture

Status: Reviewed & tested by the community » Fixed

Thanks all!

jaapjan’s picture

  • Kingdutch committed 955f2b0 on 8.x-2.x
    Issue #2947965 by emartoni, Kingdutch: Missing schema for social_group....

Status: Fixed » Closed (fixed)

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