I am looking for a plugin that provides a role-based authorization mechanism to provide read and write access to attributes. I present something like declarative_authorization strings for the white attributes of the listing of model objects. I spent some time looking around, but came up with a short one, does anyone know anything?
EDIT: I use declarative_authorization to control which users have access to which actions in the controller, but I need something similar that provides access control to the attributes of each model object. I am trying to prevent information leakage through the web API or users when creating malicious messages. I can do this through mass_assignment_authorizer, but I was hoping some plugin did this already.
source share