georgringer / news

TYPO3 Extension news
GNU General Public License v2.0
265 stars 355 forks source link

Make flexform settings exclude for detailed backend permissions #2506

Closed jonakieling closed 3 months ago

jonakieling commented 3 months ago

Feature Request

Right now it is not possible to adjust backend permissions within the flexform settings of the plugins.

Is there a downside of adding exclude=1 to the flexform settings?

Happy to open a PR for this.

georgringer commented 3 months ago

yes, downside is that you need to check every setting manually for editors to allow settings. the usecase is kind of rare that editors are allowed to use the plugin but not allowed to set special settings. especially now with a flexform per type, it makes even less sense. what do you think?

I would only accept a PR if this would use kind of a hook and add the exclude dynamically

jonakieling commented 3 months ago

Ah, that is a good point. It rarely is needed for us, too.

We stick with hiding the fields via PageTS.

EDIT: We hide fields, that are set globally via TypoScript, so editors don't mess with carefully configured page IDs and categories.