Pilot Business Rules

Herein are described the rules for Pilot Eyebrow elements to allow for ease of discussion and help in debugging issues. Each top level element has a section.

Notes on User Types

  • FAWS (Fanatical Support for AWS) users were indicated by identity role “fanatical_aws” and while that role was not removed, new users of AWS are not tagged with it.
  • Managed GCP (Google Cloud Platform) were indicated by identiy role “managed_gcp”. At this time users are assumed to not be permitted to use Cloud.
  • Datapipe users in Identity have a “RAX-AUTH:federatedIdp” value of “https://sso2.datapipe.com/saml2/idp/SSOService.php” and an “enterprise” authentication type. Other Datapipe users (in the context of the Datapipe control panel) do not have credentials in Identity, and are indicated simply by the “is_datapipe” configuration value.
  • Dedicated users are currently indicated by identity role 16 AND “hybrid:<number>”. These users are actual Dedicated MyRack users only and not the ephemeral cloud users created by MyRack to allow users to use Cloud.
  • Ephemeral Cloud-MyRack users do not have “hybrid:<>” and do not have role 16.
  • Federated users have “RAX-AUTH:federatedIdp”: “<url of something>” in the response from identity
  • Dedicated-Federated users are Dedicated users that federate against MyRack IdP using their organization credentials like ADFS. They have a dedicated:default role and “RAX-AUTH:federatedIdp”: “<url of something other than my.rackspace.com >”.

Note

Currently, Pilot also supports Datapipe portals. So please note that, the “Always shown” and “Always enabled” conditions in this document are only applicable to the Rackspace users and are not applicable to the Datapipe users.

Product Selection Dropdown

  • Always shown
  • Always enabled

Label & Active State

Label text shown when no application is selected is “Select a Product”

When the consuming control panel selects an active portfolio that is in this dropdown, the dropdown will gain the “active state” for the eyebrow (red underline) and the text for the selected portfolio item will show (e.g. Amazon Web Services) instead of “Select a Product”  (http://docs.pilot.rackspace.net/custom-guide.html?highlight=portfolio#portfolio)

Currently portfolio sections that will highlight this dropdown: “Amazon Web Services”, “Dedicated Hosting”, “Google Cloud Platform”, “Mailgun”, “Rackspace Cloud”, “Rackspace Intelligence” (faws, gcp, intelligence, myrack, or rackspace-cloud – mailgun doesn’t use Pilot so it we didn’t add it to the values that will work)

Deprecated Control Panel Selector

If the selected portfolio item is ‘other’ (http://docs.pilot.rackspace.net/custom-guide.html?highlight=portfolio#portfolio) and there is a deprecated control panel selector label (http://docs.pilot.rackspace.net/custom-guide.html#control-panel-selector) then the Label text is the deprecated control panel selector label.

This functionality allows some applications that have not been kept up to date to show the correct Product Selection Dropdown text/hightlight. We would love to remove this functionality if all applications were to be updated to use the portfolio section.

Impersonation Indicator

  • Shown if the user is a Racker impersonating into a customer account (indicated by identity’s RAX-AUTH:authenticatedBy field).
  • Also renders four floating borders around the edge of the viewport, so that there is always a clear visual cue.

Notifications

Tickets

  • Shown if the user is not a Datapipe user
  • Enabled when:
    • Always for MyRack-Dedicated users (these users don’t have roles implemented like cloud users)
    • If cloud, then only enabled if has one of Ticket:Admin, Ticket:Observer, Identity:user-admin roles
  • When Disabled, clicking does not show dropdown
  • Active highlight (red underline) when portfolio section is ‘tickets’ http://docs.pilot.rackspace.net/custom-guide.html#portfolio

Dropdown Items

Support

Dropdown Items

  • Support PIN
  • Start a Chat
    • Shown for users where the Support Service at the endpoint “/api/support-accounts/{tenant_id}/support-contacts” returns a chat team with a primary flag that has a button id
    • Always enabled when shown
  • Call <support number>
  • View My Full Support Team
    • Shown only for MyRack-Dedicated users
    • Always enabled when shown
  • Rackspace System Status
    • Always shown
    • Always enabled
  • Support Documentation
    • Always shown
    • Always enabled

Billing

Account

Dropdown Items

User

Dropdown Items

Product-Specific Navigation

All links are enabled based on rbac roles

Cloud Servers

  • Cloud Servers
  • Saved Images
  • Auto Scale
  • SSH Keys
  • Message Queueing
  • Rackspace Intelligence
  • Create Cloud Server
  • Create LoadBalancer

Orchestration

  • Stack Templates
  • Stacks
  • Create Stack
  • Create Wordpress
  • Create LAMP
  • Create Magento
  • Create Custom Template

Networking

  • Load Balancers
  • Networks
  • Cloud DNS
  • Security Groups
  • CDN - shows only if user has rax:cdn in service catalog
  • Create Load Balancer

Storage

  • Block Storage Volumes
  • Snapshots
  • Files
  • CDN - shows only if user has rax:cdn in service catalog

Databases

  • MySQL
  • MongoDB
  • Redis
  • ElasticSearch
  • Create MySQL Instance
  • MySQL Backups
  • MySQL Configurations

Backups

  • Systems
  • Backups
  • Activity
  • Preferences
  • MySQL Backups