简体   繁体   中英

Ruby on Rails active admin as dashboard for every user

I am relatively new to Ruby on Rails and activeadmin. I wonder how I can make active_admin as a user control dashboard. User loged into admin dashboard, only seeing their own records, ie posts and account info and etc. Also, I already have CanCAn role based user authorization

https://github.com/gregbell/active_admin/wiki/How-to-work-with-cancan

Based on the article pasted above, it is possible to create user only access their own records.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM