mpociot / teamwork

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

Add Roles/Permissions to teams #61

Closed codedninja closed 7 years ago

codedninja commented 7 years ago

Add function so multiple users can manage a team. This way an "admin" of the team can manage the team but can't kick someone out.

mpociot commented 7 years ago

Don't know if this should be part of this package. You could just override the isOwnerOfTeam and method in your User model to add your extra checks.

codedninja commented 7 years ago

Decided to bash it out in last couple of days. I "think" it's ready would love some feed back on it. https://github.com/tehcodedninja/TeamRoles