title: Bypass or turn off [Authorize(Roles="")] during development?
body: <p>Building an MVC3 application, and TPTB want us to use their custom authorization provider. However, during development this auth provider is kind of a pain, since it will either give an error til you shut down/restart the browser, or it will require you to re-log o on every compile.</p>
  
  <p>For now, I just added <code>&lt;authentication mode="None"/&gt;</code> to the web.config, which works fine until I encounter an action or controller that uses the <code>[Authorize(Roles = "Admin")]</code> filter (it can be any role, not just Admin). When it hits one of those, it just renders a blank page.</p>
  
  <p>Is there a way globally and temporarily turn these filters off? Or just give the user all roles while I'm in development?</p>
  
  <p><strong>EDIT</strong> </p>
  
  <p>Let me clarify- I'm actually porting over a large app from MVC2 to MVC3. It has lots of <code>[Authorize(Roles="Admin")]</code> and <code>[Authorize(Roles="Admin,Editor")]</code> throughout it. I'd rather not change all of those if possible. </p>
  
  <p>Should I just create a small custom role provider that gives all roles automatically?</p>