Comments (4)
Thank you for the detailed response. Definitely transition to spatie Laravel permission will take time & effort, but will be worth it. I can send a PR if you want this to be included. Let me know.
Thank you
from laravel-starter-kit.
Thank you for your input. I know spatie library since it was still young but it was lacking some complex permission handling before versus the laravel sentry which this custom build was inspired from. But I can see the spatie has grown already and for sure it has already those complex permission that was missing before.
When I say complex permission handling, here is an example:
We give permission to be able to "add" and "delete" for GROUP A.
Then we assign user 1 to GROUP A. So User 1 will have those permissions.
Then now we have user 2 added to GROUP A as well, but we don't want user 2
to be able to "delete", so we assign a special permission to user 2 to deny him for delete permission.
This scenario was not supported in spatie way back year ago when it was young. but laravel sentry has this but sentry was not free. So I created my own custom built with the sentry capabilities.
To be honest, I don't have plans implementing a 3rd party permission handling since the goal for this is to be stand alone much as possible. And transitioning to using spatie will be a bit of work and I have a very hectic schedule at the moment. But I will consider looking into spatie again when I have the time.
Happy coding!
from laravel-starter-kit.
Hi @twf-nikhila , if you can do that w/o affecting much on how UX is presented with managing user, groups & permissions, that would be great! We will have two branches then, 1 for the spatie version. Thanks!
from laravel-starter-kit.
am actually interested in this, would love to help out with migration if anyone has started working on it
from laravel-starter-kit.
Related Issues (20)
- Front pages as SPA HOT 3
- File Upload is not correct HOT 4
- 419 Sorry, your session has expired. Please refresh and try again. HOT 5
- Change THEME_DEFAULTS HOT 9
- How to display created_by on the user listing view HOT 1
- Suggestion on where to check for permissions HOT 5
- mix-manifest.json is missing HOT 1
- How to display userList, or create... HOT 1
- Page builder
- Components not loading HOT 3
- Update Laravel Mix v5
- Does not load file group when I edit
- can not use storage link
- Fail to delete file uploaded HOT 1
- Retrieving data with a condition
- Looking to connect with you
- localisation support HOT 1
- Pagination issue HOT 4
- Bug when updating user while leaving the password field blank 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 laravel-starter-kit.