Skip to content

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

@yorkcorpthe

Description

@yorkcorpthe
"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions