Syntax for permissions in comments.php config file (comments plugin by Verbb) I'm using the comments plugin (https://plugins.craftcms.com/comments)
I'd like to define the 'permissions' settings via the config/comments.php file but can't find docs on the syntax to use.
The default reads
    // Permissions
   'permissions' =&gt; [],

which doesn't give me much to go on.
Could someone please provide an example I could work out the correct syntax from?
Many thanks!
I've just updated the docs, but because it uses the UID of element &quot;groups&quot; it might be annoying in practice to use the config file to set this up, as it requires a bit of manual looking-up of these values.
As the plugin settings are stored in Project Config, you'll probably get the same value setting it through the control panel.
'permissions' =&gt; [
    'craft\elements\Asset' =&gt; [
        // Volume UIDs
        '33974e79-b3b6-47ec-af91-4519fe4985be',
        'c194716f-aa74-40b6-8426-c835599cbe93',
    ],

    'craft\elements\Category' =&gt; [
        // Category Group UIDs
        'a27827c8-4810-433c-acb9-261b53d46281',
        '346194f0-6da8-4f46-a20b-795631ee9a5f',
    ],

    'craft\elements\Entry' =&gt; [
        // Section UIDs
        'a8d4bdf1-164e-4ddc-aaad-640026b8d3bf',
    ],

    'craft\elements\User' =&gt; [
        // User Group UIDs
        'c23a4d8d-47f0-4e71-927c-d5897ec9c9f8',
    ],
],