Benjamin Bertin
Benjamin Bertin
Why not have a simple method to allow a role on multiple resources? ``` php $roles = [ 'ArticleAndCategoryEditor' => [ [ 'resource' => new ClassResource(Article::class), 'actions' => [Actions::VIEW, Actions::EDIT]...
IsAllowed should accept a resource as a string, then we could create a virtual resource (like an application backend).
All the possible roles definition could be: ``` php $roles = [ 'ArticleEditor' => [ 'resource' => Article::class, 'actions' => [Actions::VIEW, Actions::EDIT], ], // same as the next one 'ArticleEditor'...
I have the same issue using Langfuse v3.132.0 and Langfuse Python SDK 3.10.0.