Replace hardcoded route permission

Created on 20 January 2025, about 2 months ago

Problem/Motivation

Currently the permission to access the /components route is hardcoded as 'administer site configuration'. Ideally, this module would provide it's own permission in order to assign to various roles so the component library can be acccessed by anyone with the appropriate permission.

Steps to reproduce

Try and assign a permission to access the /components route. You can't because no such permission exists.

Proposed resolution

Add a permission to access the /components route.

Remaining tasks

Add a permission to access the /components route.

User interface changes

New permission added to permissions ui.

API changes

None.

Data model changes

Users will now have to be assigned permission to view /components route.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom darren.fisher

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024