refine icon indicating copy to clipboard operation
refine copied to clipboard

[BUG] ShowButton does not pass meta params to useButtonCanAccess refine/inAntD

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

Describe the bug

the show button does not pass meta params to useButtonCanAccess.

Steps To Reproduce

For example I have some rule like this

can read if companyId matches. But useButtonCanAccess only passes id of resource. If I want to pass any paramter as companyId, it doens't work

Expected behavior

the meta params should be passed to useButtonCanAccess

Packages

@refinedev/antd @refinedev/core

Additional Context

No response

devarsh-mavani-19 avatar May 17 '25 20:05 devarsh-mavani-19