Skip to content

Standard users cannot see harvester machine config options #15234

@richard-cox

Description

@richard-cox

Setup

  • Rancher version: v2.12.0

Describe the bug

  • host / imported harvester cluster may or may not support vai. this may be different than the local cluster. so to determine if pagination can be used in downstream harvester cluster create process we check the downstream ui-sql-cache ff
  • however there's a permissions issue where standard-users cannot access that resource. this throws an error which causes the rest of the initialisation stuff to be missed... i.e. no options in drop downs for required fields

To Reproduce

  • provision a host harvester, import into rancher
  • create a standard-user and assign them as cluster member to the imported harvester cluster
  • as the standard-user navigate to cluster management --> cluster list --> create --> harvester (if needed create creds)

Result

  • note - 404 and then nothing else of interest (no additional http requests to namespaces, images, config maps, etc)
Image

Expected Result
Image

Image

Additional context

  • there's an issue where the user and downstream cluster cannot see feature flags or settings
    • /k8s/clusters/c-vf2vf/v1/management.cattle.io.features/ui-sql-cache
      • this is the root of this bug
    • /k8s/clusters/c-vf2vf/v1/management.cattle.io.settings
      • this is the root of the banner with data from the screenshot. it's functionally harmless

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions