Skip to content

Introduce Cloud Seed AWS Controller

Sri Rang requested to merge cloudseed-aws-controller into master

What does this MR do and why?

Introduces a ConfigurationController for Cloud Seed :: AWS

  • BaseController verifies if user can access AWS configuration
    • Policy rule admin_project_aws, only maintainers and owners have access
  • BaseController verifies if feature flag cloudseed_aws is enabled
  • Placeholder index route in ConfigurationController
  • Placeholder template
  • Routes definition
    • aws/ redirects to configuration
    • aws/configuration points to ConfigurationController#index
  • Updates Infrastructure::AWS menu item to point to valid route
  • Specs to verify only authorized members can access route
  • Specs to verify feature flag enabled

Screenshots or screen recordings

image

How to set up and validate locally

  1. Enable the cloudseed_aws feature flag
  2. Navigate to a project where you are maintainer or owner
  3. Under infrastructure the AWS menu item should be visible
  4. It should point to aws/ that redirects to aws/configuration

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sri Rang

Merge request reports