Comments (1)
it's not the guard actually, it's the default User
model.
Which has been hardcoded in the DefaultPolicy
stub.
It's on my todo list to make it configurable via settings page, but haven't gotten to it yet.
So either make a PR or wait another week or so.
And to Solve your current Problem you would need to update the DefaultPolicy
to use App\Models\Admin
then run the shield:generate
command.
from filament-shield.
Related Issues (20)
- how to display a extra column in table role HOT 2
- My UserPolicy does not allow me to open my own profile HOT 2
- Feature Request: Modular support HOT 1
- Problem when using Laravel modules nwidart package HOT 1
- Multiple resources use the same model HOT 2
- Tab bug in other languages (chinese and khmer) HOT 1
- Cluster page not working
- Error on composer update HOT 2
- How to transfer RoleResource.php in Clusters? HOT 5
- Install is not finding relations HOT 7
- Role CRUD accessibility is bypassed HOT 3
- Documentation Update for Laravel 11 - Custom folder structure for Models or Third-Party Plugins HOT 1
- Role Resource is accessible for everyone HOT 7
- Svg by name "filament-shield::filament-shield.nav.role.icon" from set "default" not found. HOT 1
- Model with two words has unexpected permission name HOT 1
- Error when editing / creating roles
- super_admin role generation
- Role Resource is accessible for everyone HOT 4
- Edit Role doesn't populate role name HOT 1
- cannot create or edit role HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament-shield.