Comments (3)
@tabacitu Thanks for the explanation :)
from permissionmanager.
Hi @zorji ,
Yes, we use a different laravel-permission config because the one provided by spatie/laravel-permission does not stick to the laravel standards, which backpack respects. In Laravel tables are usually named by the following rules:
- table name is plural, no capitals (ex: permissions);
- foreign keys are named by using the entity name in singular, underline id (ex: category_id);
- connection tables include both entity names in singular (ex: article_tag)
Spatie does their own thing there, and I had to pick one convention. So I chose the one that Taylor Otwell, Jeffrey Way and others use, not the one that Spatie does. I think they're the ones who make the most sense in this situation. No ragrets.
Cheers!
from permissionmanager.
(of course, you're free to use the Spatie convention if you'd like)
from permissionmanager.
Related Issues (20)
- SQLSTATE[HY093]: Invalid parameter number HOT 3
- PermissionManager failing to install on backpack v6 HOT 3
- Add menu item on tabler theme HOT 12
- [Proposal] Please document how to integrate with `laravel-permission` HOT 2
- Login With LDAP HOT 2
- Users can still access the url if they have permisison HOT 2
- Permission Manager Plugin is looking for table users instead of admins HOT 9
- User list not working HOT 2
- [FEATURE] Filtering role and permissions in user CRUD HOT 2
- [Bug] Tests fail possibly trying to load filters on non-PRO setup HOT 7
- Upgrade to `spatie/laravel-permission` v6.1 HOT 5
- Why a new admin account get redirected to /home instead of /admin/dashboard? HOT 6
- How to add 'Select Role(s)' (dropdown) on user create/edit crud view (and get it to save)? HOT 2
- User edit: Default empty password behavior HOT 7
- $user->roles() returning collection of 'false' values HOT 6
- INDUSTRIAL TRAINING REPORT ON HOT 2
- The attribute [password_confirmation] either does not exist or... HOT 5
- Orderable on columns of type custom_column has not been disabled HOT 2
- Backpack error : Array to string conversion when I click preview(show) user HOT 2
- composer install: remote: Repository not found HOT 2
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 permissionmanager.