Skip to content

Commit

Permalink
Add note about authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
lewispb committed May 7, 2024
1 parent 110bff5 commit ffee1af
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ config.mission_control.web.redis = Redis.new(url: "redis://server:6379/0")
config.mission_control.web.administered_applications = [ { name: "My Rails App", redis: Redis.new(url: "redis://server:6379/0") } ]
```

### Authentication and base controller class

By default, Mission Control's controllers will extend the host app's ApplicationController. If no authentication is
enforced, the admin pages will be available to everyone. You might want to implement some kind of authentication for
this in your app. To make this easier, you can specify a different controller as the base class for Mission Control's
controllers:

```rb
config.mission_control.web.base_controller_class = "AdminController"
```

### Custom "denied" page

You can configure a custom page to show to users when a request is denied by Mission Control - Web. Configure this like
Expand Down

0 comments on commit ffee1af

Please sign in to comment.