FunnyHat
Auto-fill team_id in create
What I am trying to do:
Auto-fill
team_id
column when creating a TeamInvitation
What I did:
Created a resource for TeamInvitation
following the documentation. Tenany is setup for the Team
model.
My issue/the error:
When creating a TeamInvitation
, an exception occurs: https://flareapp.io/share/x7KweXY7
Code:3 replies
Add a link to the admin panel in user menu
Hi,
I have 2 panels, one for customers and one for admins. I want to add a User Menu Item for the Admin panel if the user has access to it.
How do I do this?
Auth::user()
gives me a null
in the AdminPanelServiceProvider
so I think it is evaluated before the user's session exists?8 replies