Skip to main content

How would you implement an authorization system in Rails?

Tips • Asked by Demetris Constantinou

Let's say you have users-or-members in your application and each user has his/her own contacts. How would you implement the functionality to allow user1 to add/modify contacts for user2, but not delete.

Basically what I am looking for is a flexible way for users to allow each other to modify some and parts of their resources.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.