Skip to content

How can we check role for custom link ?  #25

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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