refine icon indicating copy to clipboard operation
refine copied to clipboard

fix(core): pass meta to useCan params

Open devarsh-mavani-19 opened this issue 5 months ago • 3 comments

PR Checklist

Please check if your PR fulfills the following requirements:

  • [ ] The commit message follows our guidelines: https://refine.dev/docs/guides-concepts/contributing/#commit-convention

Bugs / Features

  • [x] Related issue(s) linked https://github.com/refinedev/refine/issues/6802
  • [ ] Tests for the changes have been added
  • [ ] Docs have been added / updated
  • [x] Changesets have been added https://refine.dev/docs/guides-concepts/contributing/#creating-a-changeset

What is the current behavior?

Currently it does not pass meta params to access control provider. Which limits the data that we may want to pass through useCan hook.

What is the new behavior?

Now it passes meta params through useCan hook

fixes (issue) https://github.com/refinedev/refine/issues/6802

Notes for reviewers

devarsh-mavani-19 avatar Jun 02 '25 19:06 devarsh-mavani-19