-
Description:my resource action The problem is when I click the Modal Opens but after submitting with approval_ref, I get 403 not authorized. My Policy I am stuck without any solution to this problem which I assume is a BUG. Detailed steps to reproduce the issue on a fresh Nova installation: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We already have multiple feature and dusk tests covering this use case and everything working as expected. However I wouldn't recommend using You should use |
Beta Was this translation helpful? Give feedback.
-
|
Great Thanks, @crynobone appreciate your support. |
Beta Was this translation helpful? Give feedback.
We already have multiple feature and dusk tests covering this use case and everything working as expected. However I wouldn't recommend using
canSeesuch as above and can imagine how that going to cause an issue since$this->resourcenot always yield a record.You should use
canRun(callable(\Laravel\Nova\Http\Requests\NovaRequest, \Illuminate\Database\Eloquent\Model))instead.