Project

General

Profile

Defect #5317 » 5317_permissions.diff

Greg Mefford, 2010-06-19 19:07

View differences:

app/controllers/projects_controller.rb (working copy)
27 27
  before_filter :authorize, :except => [ :index, :list, :add, :copy, :archive, :unarchive, :destroy, :activity ]
28 28
  before_filter :authorize_global, :only => :add
29 29
  before_filter :require_admin, :only => [ :copy, :archive, :unarchive, :destroy ]
30
  accept_key_auth :activity
30
  accept_key_auth :activity, :index
31 31
  
32 32
  after_filter :only => [:add, :edit, :archive, :unarchive, :destroy] do |controller|
33 33
    if controller.request.post?
(2-2/3)