Skip to content

Organization Users - Basic Routing

Zack Cuddy requested to merge 409313_01-organization-level-users-routing into master

What does this MR do and why?

Work towards: #409313 (closed)
Work Item: #428485 (closed)
Heavily modeled by structure setup: !124642 (merged)

This change sets up the Rails routing for the Organization level users page. No UI elements have been introduced here and will be added to the view following this change.

This change is behind a feature flag (:ui_for_organizations)

Note: this attempts to follow the same pattern as the Organizations Groups and Projects page implemented here.

Screenshots or screen recordings

w/o FF w/ FF
Without_FF With_FF

How to set up and validate locally

with FF enabled

  1. Enable FF in rails c Feature.enable(:ui_for_organizations)
  2. Go to Default Organization path (http://127.0.0.1:3000/-/organizations/default)
  3. Ensure left nav has option Manage => Users
  4. Click said option
  5. Ensure blank page renders with Default -> Users in the breadcrumb

with FF disabled

  1. Disable FF in rails c Feature.disable(:ui_for_organizations)
  2. Go to Default Organization Users path (http://127.0.0.1:3000/-/organizations/default/users)
  3. Ensure 404

MR acceptance checklist

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

Merge request reports