I have a restful controller Business with an arbitrary number of actions, most of them various versions of a show action. I would like a user role, ReadOnly, to be able to do anything with that controller, aside from anything that would modify a Business model. I do not want to have to modify Ability.rb every time a new action is added, as that's really smelly.
This is what I have now:
if user.read_only?
can :manage, Business
cannot [:update, :delete], Business
end
Is this the proper way to set these permissions?