Feature policy has been renamed to Permission policy a while back but this is still not merged.
https://httptoolkit.com/blog/renaming-feature-policy-to-permissions-policy/
https://w3c.github.io/webappsec-permissions-policy/
Done.
For me it was something else.
If you get this issue with zend, check in the error output which projects are mentioned.
In my case it was one 3rd party project which require me to add "|| ^2" (before I only had ^1 which worked up to Drupal 9.5).
"project/name": "^1 || ^2",
Find which one is blocking you, fix it in composer and run composer update.
I get this error:
Twig\Error\LoaderError: There are no registered paths for namespace "components" in "modules/contrib/ui_patterns/templates/patterns-use-wrapper.html.twig" at line 9. in Twig\Loader\FilesystemLoader->findTemplate() (line 227 of /var/www/html/vendor/twig/twig/src/Loader/FilesystemLoader.php).
where is just this line
{% include use %}
The patch in #7 didn't solve it for me.
Will this fix be also in Webform 6.1.x (stable) because right now it's only in 6.2.x (beta)?
It is one of the WTFs of Drupal, yes.
I am also surprised seeing this still unresolved after so many years.
The issue is that we got used to this while newcomers find it really confusing and (according to the comments above) are losing a lot of work/time with it.
Instead of criticising we need push this forward together.
It's a free and open-source project after all.
I stumbled upon a related issue to this one.
Simple scenario: specific user role needs to be able to Publish/Unpublish one specific content type.
I don't understand why this cannot be added as permission which would solve this issue too.
Instead of giving this user role the whole "Administer content" permission with all the caveats which apply to all content types and/or setting $form['status']['#access'] = TRUE;
in the form_alter.