Entities accessed through JSON:API require "manage translatable config pages" permission

Created on 11 December 2024, 15 days ago

Hi! I've switched over to this module from Config Pages so I can make them translatable on a decoupled site. One new problem I'm running into is that accessing a config page via JSON:API requires the "manage translatable config pages" permission to be enabled. I currently have that enabled for the anonymous role, but would prefer to avoid opening up that permission so broadly.

Would it be possible to add a new permission to access the contents of a translatable config page, then use that as the basis of accessing the entity instead of the managerial permission?

(I might come back later and provide a MR for this if someone doesn't beat me to it.)

Thanks!

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kurttrowbridge

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

Comments & Activities

Production build 0.71.5 2024