active_admin_role icon indicating copy to clipboard operation
active_admin_role copied to clipboard

How can we check role for custom link ?

Open gurmindersingh4260 opened this issue 3 years ago • 0 comments

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:

gurmindersingh4260 avatar Jul 30 '22 09:07 gurmindersingh4260