active_admin_role
active_admin_role copied to clipboard
How can we check role for custom link ?
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: