kasperrt is there any way of adding a user to a group programmatically? I've gotten so far that I can create a group, but I can't find out how to add the user to the created group..
luceos Note that sync drops any group that's not in that array. You can also use attach or detach. See the belongsToMany relationship of Laravel: https://laravel.com/docs/5.1/eloquent-relationships#inserting-many-to-many-relationships
kasperrt Super! Thanks got it working ? Sorry for posting another discussion already, so I'll just reply here: How do I change a groups permission, once I've added a user to it?