refine
refine copied to clipboard
fix(core): pass meta to useCan params
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