Add ability to set permissions for wxt_ext_breadcrumbs

Created on 14 June 2023, over 1 year ago
Updated 23 June 2023, over 1 year ago

Problem/Motivation

We have a need to set permissions for different roles for the wxt breadcrumbs.
As of now the wxt breadrumbs does not appear in the permissions list.

Steps to reproduce

Go to admin/people/permissions
Search for wxt

We only see the wxt admin and wxt core but need on a more granular level for the wxt breadcrumbs.

Proposed resolution

Add in a permissions file

wxt_ext_breadcrumb.permissions.yml
With the following:
administer wxt_ext_breadcrumb:
title: 'Administer wxt breadcrumbs'
description: 'Access the wxt breadcrumbs pages.'
restrict access: true

Change the requirements permissions for:
wxt_ext_breadcrumb.routing.yml
to:
requirements:
_permission: 'administer wxt_ext_breadcrumb'

Change the wxt_core.routing.yml permissions requirement
requirements:
_permission: 'administer site configuration'

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

4.5

Component

Code

Created by

🇨🇦Canada nancyHebert

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

Comments & Activities

Production build 0.71.5 2024