Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

[SDPSUP-6512] Restrict modification of field_search_configuration to administrators #78

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nicksantamaria
Copy link

Changes

Alters field_search_configuration config to enable field_permissions with the following permissions.

  • administrator role can modify the field value.
  • anonymous and authenticated roles can view the field value (this is to prevent Drupal from excluding this data through JSON:API).

Motivation

This field is really for developers to configure bespoke search collection pages, not for CMS users to use. Hiding this field from view will hopefully reduce some misunderstandings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant