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
Post a Comment