Export with custom guard

Hi All, have an app with V3 filament, for auth I use custom guard with the agents table sofar auth works fine, but I have a problem implementing export. This problem is because the export table has a relationship with the users table with user_id whereas I use the agents table. so if I run export I get errors exports, CONSTRAINT exports_user_id_foreign FOREIGN KEY ('user_id') REFERENCES 'users' ('id') ON DELETE CASCADE and other problems I use many panels and of course, I use guard with user and implement export, so how to use export in multiple guards?
4 Replies
Jr.Pikong
Jr.Pikong6mo ago
Hi Guys, any one can help me ?
Jr.Pikong
Jr.Pikong6mo ago
ahhhhhh Thank you friend, I've looked for it in the documentation hoping to find the settings because so far filament has very good documents and apparently I missed it, thanks again
Saifulapm
Saifulapm3mo ago
@Jr.Pikong when try to download export file, it’s not working because of custom guard. How did you make it ??