Hi Community!
I was successfully able to override page blueprints based on the role by following this guide here:
BUT it doesnât work when I try to override a user blueprint:
kirby::plugin('cookbook/role-blueprints', [
'blueprints' => [
'pages/test' => $dirtest, // path to yaml --> WORKS
'users/editor' => $diruser // path to yaml --> DOESN'T WORK
]
]);
When I do it like in the example, all users are displayed as ânobodyâ, because kirby canât read the role anymore. Am I missing something? Is the path wrong or doesnât it work for roles at all?