Add constraint for User Role Condition roles so it can be FullyValidatable

Created on 30 May 2025, 1 day ago

Problem/Motivation

Add constraint for User Role Condition roles so it can be FullValidatable

Steps to reproduce

Proposed resolution

user.schema.yml has

condition.plugin.user_role:
  type: condition.plugin
  constraints:
     FullyValidatable: ~
  mapping:
    roles:
      type: sequence
      sequence:
        type: string

it should be

condition.plugin.user_role:
  type: condition.plugin
  mapping:
    roles:
      type: sequence
      sequence:
        type: string
        constraints:
           ConfigExists:
                 prefix: user.role.

Remaining tasks

MR, with tests green.

User interface changes

None

Introduced terminology

None

API changes

None.

Data model changes

Config schema changes

Release notes snippet

None.

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

configuration system

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024