Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method Laratrust\Laratrust::isAbleTo() #687

Open
yorkcorpthe opened this issue Dec 16, 2024 · 0 comments
Open

Call to undefined method Laratrust\Laratrust::isAbleTo() #687

yorkcorpthe opened this issue Dec 16, 2024 · 0 comments

Comments

@yorkcorpthe
Copy link

"php": "8.3.10",
"jeroennoten/laravel-adminlte": "^3.14",
"laravel-lang/common": "^6.4",
"laravel/framework": "^11.31",    
"laravel/ui": "^4.6",
"santigarcor/laratrust": "^8.3"

},

Describe the bug
Laratrust example was just provided as reference on the documentation, maybe that method is now deprecated in that package, if you found which one should be used here, please share so we can update docs.
https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Menu-Configuration

To Reproduce
image

Steps to reproduce the behavior:
1.Your custom filter needs to implement the FilterInterface provided by this package.

2.And then add the following configuration to the config/adminlte.php file:

image
3.Register permission in menu
image
4.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant