I learn something new every day. I didn't realize ActiveScaffold worked out of the box with CanCan. It's probably not too late for me to give it a try instead of declarative_authorization.
On Oct 17, 9:40 am, clyfe <[email protected]> wrote: > The way I do security is to combo with CanCan > > ActiveScaffold.set_defaults do |config| > # config.security.current_user_method = :current_user # this is the > default case, no need to be explicit > config.security.default_permission = false # deny all by default, don't > leak > end > > add CanCan to gemfile and write your ACL rules. Done. > > Docs for cancan bridge > here:https://github.com/vhochstein/active_scaffold/wiki/CanCan-bridge -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
