I have developed a Rails 4 application and I am planning to use a simple and efficient user management solution in my application. I have checked the Devise gem
and found that it has a lot of features which i don't want to implement/mess with in my code.
My User management is very simple: I have a list of users. Each user has some role intern bring to some privileges. I want to store the currently logged in user some where in application which can be accessed anywhere from within the application. I also want to check in the controller whether the current logged in user has access to this controller.
I am not authenticating the user against my local Database, instead I am doing that using Facebook.
Any help is appreciated.