ruby - Using ActiveAdmin in Rails to create user specific admin pages -


to explain in sentence, asking if possible use activeadmin gem create admin pages specific admin users, i.e. each admin user gets see models , associating models specific him. if so, how implement this?

to further explain situation, have model called sponsor(who admin users), , put different offers(another model belongs sponsor) users redeem. trying create admin page each sponsor gets own admin credentials, , admin page shows information relates sponsor, i.e. information regarding offers sponsor put up, , relating models , details. possible implement using activeadmin gem or other gems matter?

i rather not implement scratch if there gems out there use. suggestions?

i haven't tried myself should achievable in activeadmin either changing default scope on per controller basis or using authorizationadapter.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -