Closed shbov closed 3 years ago
Maybe you can explain a bit more. I don't see the point to implement something like this. In fact you already have the ability to change the access permission
<?php
return [
"prefix" => 'lumki',
"middleware" => ['web', 'auth:sanctum', 'can:users.edit.*'],
]
];
Are you using config('lumki.permissionAccess') in the application?
What's the needed of permissionAccess
key in the config file if the package is not using it and you can modified the middlewares via config file?
I'm not rejecting the idea, I only want to visualize a few examples where it can be useful
Right now, we only have the option to change the middleware access permissions, but we can't change the blade @can ("user manage").
Ok, i get it
I think theses changes resolve this issue
Hi, it seems to me that we need to add the ability to change the access permission to the package. Something like this:
config/lumki.php