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

Teams #8

Closed
francoismart opened this issue Sep 20, 2015 · 6 comments · Fixed by #1804
Closed

Teams #8

francoismart opened this issue Sep 20, 2015 · 6 comments · Fixed by #1804

Comments

@francoismart
Copy link

Hello
nice package. would it be possible to add a "Teams" or "Workspaces" a la spark on top of roles ?
For my saas project i would need a user-teams role definition so that I can have administrators, team administrators and members roles for each team. Permissions would be declared one time only like read, write, updated, delete, etc ... and would be reusable across roles. So one user could have many teams and in each team it would have different roles, connected with different permissions.
I'm asking instead of doing because i'm not sure how to figure it out.
have nice day
Francois

@freekmurze
Copy link
Member

Hi, currently there are no plans to add a team-layer. I haven't looked at in in detail, but I suppose that Laravel Spark will offer team based authentication out of the box.

@cyberhicham
Copy link

Hello,
I have the very similar need @francoismart : how did you manage it finally ?
@freekmurze : any updated plans about this team-layer ?

@freekmurze
Copy link
Member

@cyberhicham Nope

@francoismart
Copy link
Author

hello
we've segregated teams at database level. need maintenance (1 db per team) but works.
major drawback is how you connect to db and how to associate to subdomain.
Our code is not generic enough to share. But one package to check is https://laravel-tenancy.com
(did to test it but use same tactics)
hope it helps
François

@cyberhicham
Copy link

@francoismart : I see, not exactly what I have in mind. Thanks :)

@mihailovskim
Copy link

Hi everyone,

Few years after this issue is opened... is there any improvement now? Is there possibility spatie/laravel-permission to be used in SAAS applications?

Kind regards,
Martin

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

Successfully merging a pull request may close this issue.

4 participants