Require permission to add volto block?

We want to prevent that some blocks can be added by every editor and so we want to require a specific permission to add these blocks.

Is there a way to do this in volto?

I have found security.addPermission for block configuration (here Getting Started with Custom Blocks in Volto — Six Feet Up) but no documentation about how to use it. Did I miss some documentation?

I don't think this has been implemented in Volto yet. It's a bit of a complicated use case, because if you want to restrict adding blocks, you probably want to restrict editing them as well, so then the block editor needs to be aware of this.

You can implement your own check for whether a block can be added: How to restrict blocks – Frontend – Development — Plone Documentation v6.0