Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we check role for custom link ? #25

Open
gurmindersingh4260 opened this issue Jul 30, 2022 · 0 comments
Open

How can we check role for custom link ? #25

gurmindersingh4260 opened this issue Jul 30, 2022 · 0 comments

Comments

@gurmindersingh4260
Copy link

gurmindersingh4260 commented Jul 30, 2022

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:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant