I am using devise for authentication and i want only user named admin having permission to edit or delete all the posts. The other users can view all the posts specific to any project. And only the users corresponding to that project can edit the posts.
Also we should able to change the user from one project to another. How can i do this?
I am using devise for authentication and i want only user named admin having
Share
I think you want an authorization solution. Check this and choose one.