阅读背景:

在Active Admin中查看菜单项的显示页面

来源:互联网 

I would like to dynamically change the menu based on the permissions of the viewing user. I would like the superadmin user to have access to the normal Resource actions (index, show, update, etc). So when an admin clicks on a menu item, it would take them to the index of that resource. I would like to restrict the normal admin user to just viewing a specific show page.I would like to dynamically change the menu bas




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: