---
Name: rootroutes
---
SilverStripe\Control\Director:
  rules:
    '': SilverStripe\Control\Controller
---
Name: coreroutes
After:
  - '#rootroutes'
---
SilverStripe\Control\Director:
  rules:
    'Security//$Action/$ID/$OtherID': SilverStripe\Security\Security
    'CMSSecurity//$Action/$ID/$OtherID': SilverStripe\Security\CMSSecurity
    'dev': SilverStripe\Dev\DevelopmentAdmin
---
Name: security-limited
After:
  - '#rootroutes'
Except:
  environment: dev
---
SilverStripe\Control\Director:
  rules:
    'Security//$Action/$ID/$OtherID': '%$RateLimitedSecurityController'
