Changeset 1745

Show
Ignore:
Timestamp:
08/19/08 13:32:01 (3 months ago)
Author:
dbryson
Message:

add authorization

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hive/trunk/data_webapp/config/environment.rb

    r1701 r1745  
    101101require 'time_converter' 
    102102include TimeConverter 
     103 
     104 
     105# Setup the WorkerBeeAuthorization filter. In Rails 2.1 this can be 
     106# moved to a separate initializer 
     107bee_config = YAML.load(ERB.new(IO.read("#{RAILS_ROOT}/config/worker_bee.yml")).result) 
     108WorkerBeeAuthorization.configuration = bee_config["bee"]