mpociot / teamwork

User to Team associations with invitation system for the Laravel 5 Framework
MIT License
1.07k stars 170 forks source link

Share permissions between teams? #74

Closed mcblum closed 7 years ago

mcblum commented 7 years ago

Thank you for writing this awesome package! Does anyone have an idea of the best way to link two different teams so that they one team can access the permissions of another? Meaning, if team 1 has a bunch of products and team 2 is helping facilitate customer reviews for team 1, what would be the easiest way to allow team 2 to administer team 1's products without allowing team 1 access to all of team 2's stuff, since team 2 will be a service provider for the teams that are actually selling stuff?

Thanks again.

mcblum commented 7 years ago

Upon taking a closer look it appears as though maybe the easiest way is just to have the user switch teams temporarily.

mpociot commented 7 years ago

👍 I also think that this makes more sense for this package :)