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 view this discussion on the web visit 
https://groups.google.com/d/msg/activescaffold/-/1TzpAR1c94sJ.
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.

Reply via email to