Create authorization_adapter.rb

Added declarative authorization adapter.