Skip to content

How can we check role for custom link ?  #25

Open
@gurmindersingh4260

Description

@gurmindersingh4260

Steps to reproduce

I added new member function. The new permission is loaded. I appended the actions in registered active admin class. But it is not displayed according to permissions. I am unable to check the permission for that link. Or how to get the possible actions for resource class.

  • Explain steps to reproduce.
  • Paste your error logs.
  • Tell us your repository of app, if you ok.

Expected behavior

The appended link should display according to permission assigned.

Tell us what should happen
The custom link is displayed for all the roles.

ActiveAdmin version:2.13.1

ActiveAdminRole version: 0.2.2

Rails version:

Ruby version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions