403 forbidden error
I'm trying to add a modal action to the custom page. When clicking on the button it'll go to 403 forbidden error every time.
Any solution for the same?
8 Replies
Share some info with us. Probably you set some policies that prevent showing the page
I have this type of code and tried it with the filament resource custom page. But it'll go to 403 whenever I click on the "Set Status" button. I've checked for permission and it's already given.
@Dennis Koch @toeknee Any solution for this?
Please do note tag people as per #✅┊rules
You are getting a 403 as you are not authorised to update it. Please check your Policy for JobFiles
Sorry for tag!
Let me check once.
it doesn't make sense if the action is empty
It doesn't but it doesn't effect the 403. I ssuepct it's been removed for testing purposes.
i think we need to see the action callback. based on what is shown in the code, the Action would just open a modal with a form in it.
I think the same