GateKeeper 0.2 is now available. This version traverses eagerly loaded associations and checks read permissions on each loaded object for the current user. Rdocs and install instructions available at gatekeeper.rubyforge.org.

GateKeeper is a Ruby on Rails plugin providing robust Model level permissions management, allowing you to declare access permissions for instances of ActiveRecord classes with natural language commands. For instance

  • crudable_by_admin
  • creatable_by_my_author
  • updatable_by_friends_of_my_owner :unless => :is_imaginary?
  • updatable_by_monkey_of_my_uncle :if => :has_common_ancestor?
  • readable_by_employee_of_the_month
  • and a whole lot more.
Comments: [add comment]