Skip to content

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

@devarsh-mavani-19

Description

@devarsh-mavani-19

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions