User permisions for specific page and it's subpages

Ok, I just tested this and works perfectly for me.

I disabled the default home.yml.

Then in my plugin:

<?php

if(($user = kirby()->user()) && $user->role()->name() == 'client') {
    $dir = __DIR__. '/blueprints/client/home.yml';
} else {
    $dir = __DIR__ . '/blueprints/home.yml';
}

Kirby::plugin('texnixe/permissions', [
    'blueprints' => [
        'pages/home' => $dir
    ]
]);

And the structure of my plugins folder:

53